Remove unnecessary path adjustment on macOS in FindwxPython.cmake
This commit is contained in:
parent
a06f0ca908
commit
68139cdd84
|
@ -34,11 +34,6 @@ set( _py_cmd "import wx;print(wx.version())" )
|
||||||
if( PYTHON_SITE_PACKAGE_PATH )
|
if( PYTHON_SITE_PACKAGE_PATH )
|
||||||
set( _py_site_path
|
set( _py_site_path
|
||||||
"import sys;sys.path.insert(0, \"${PYTHON_SITE_PACKAGE_PATH}\");" )
|
"import sys;sys.path.insert(0, \"${PYTHON_SITE_PACKAGE_PATH}\");" )
|
||||||
|
|
||||||
if( APPLE ) # extra path for macOS, so that 'wx' module is accessible
|
|
||||||
set( _py_site_path
|
|
||||||
"${_py_site_path}sys.path.insert(0, \"${PYTHON_SITE_PACKAGE_PATH}/wx-3.0-osx_cocoa\");" ) #TODO is this needed with Python3?
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if( VCPKG_TOOLCHAIN )
|
if( VCPKG_TOOLCHAIN )
|
||||||
|
|
Loading…
Reference in New Issue