Enable macOS builds to run from build directory....
This commit is contained in:
parent
0054b64143
commit
53a90ccb88
|
@ -664,6 +664,11 @@ else()
|
||||||
set( KICAD_DEMOS demos
|
set( KICAD_DEMOS demos
|
||||||
CACHE PATH "Location of KiCad demo files." FORCE )
|
CACHE PATH "Location of KiCad demo files." FORCE )
|
||||||
|
|
||||||
|
# Required to run from build folder
|
||||||
|
if( PYTHON_FRAMEWORK )
|
||||||
|
list(APPEND CMAKE_BUILD_RPATH ${PYTHON_FRAMEWORK} )
|
||||||
|
endif()
|
||||||
|
|
||||||
# RPATH settings for building shared libraries
|
# RPATH settings for building shared libraries
|
||||||
set( CMAKE_MACOSX_RPATH FALSE )
|
set( CMAKE_MACOSX_RPATH FALSE )
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue