File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,10 @@ if(PY_TORCH_FOUND)
5050 ${CMAKE_SOURCE_DIR} /tmva/sofie/src/SOFIE_common.cxx
5151 )
5252 target_link_libraries (emitFromPyTorch ${PYTHON_LIBRARIES} ${Libraries} )
53+ if (APPLE )
54+ target_link_options (emitFromPyTorch PRIVATE ${PYTHON_LINK_OPTIONS_Development_Main} )
55+ endif ()
56+
5357 target_include_directories (emitFromPyTorch PRIVATE
5458 ${CMAKE_SOURCE_DIR} /tmva/sofie/inc
5559 ${CMAKE_SOURCE_DIR} /tmva/inc
@@ -108,6 +112,10 @@ if((PY_KERAS_FOUND AND PY_THEANO_FOUND) OR (PY_KERAS_FOUND AND PY_TENSORFLOW_FOU
108112 ${CMAKE_SOURCE_DIR} /tmva/sofie/src/SOFIE_common.cxx
109113 )
110114 target_link_libraries (emitFromKeras ${PYTHON_LIBRARIES} ${Libraries} )
115+ if (APPLE )
116+ target_link_options (emitFromKeras PRIVATE ${PYTHON_LINK_OPTIONS_Development_Main} )
117+ endif ()
118+
111119 target_include_directories (emitFromKeras PRIVATE
112120 ${CMAKE_SOURCE_DIR} /tmva/sofie/inc
113121 ${CMAKE_SOURCE_DIR} /tmva/inc
You can’t perform that action at this time.
0 commit comments