mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-04 23:05:30 +00:00
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
|
||||
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
|
||||
set( CMAKE_MACOSX_RPATH FALSE )
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user