Merge pull request #2085 from ratwithacompiler/macos-python-fix

obs-scripting: Fix Python on MacOS
This commit is contained in:
Jim
2019-11-14 20:38:53 -08:00
committed by GitHub
4 changed files with 15 additions and 19 deletions

View File

@@ -375,14 +375,6 @@ if (APPLE)
target_link_libraries(obs
Qt5::MacExtras)
set_target_properties(obs PROPERTIES LINK_FLAGS "-pagezero_size 10000 -image_base 100000000")
set_property(
TARGET obs
APPEND
PROPERTY INSTALL_RPATH
"/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/"
"/Library/Frameworks/Python.framework/Versions/3.6/lib/"
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/"
)
endif()
define_graphic_modules(obs)