File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,9 @@ add_dependencies(partmclib ${SUNDIALS_items})
120120target_include_directories (partmclib PRIVATE ${SUNDIALS_SOURCE_DIR} /include )
121121target_include_directories (partmclib PRIVATE ${CMAKE_BINARY_DIR} /include )
122122target_link_libraries (partmclib PRIVATE ${SUNDIALS_items} )
123+ if (APPLE )
124+ target_link_options (partmclib PRIVATE -Wl,-no_compact_unwind)
125+ endif ()
123126
124127### PYBIND11 & PyPartMC ############################################################################
125128
@@ -134,9 +137,6 @@ target_include_directories(PyPartMC PRIVATE
134137)
135138target_compile_definitions (PyPartMC PRIVATE VERSION_INFO=${VERSION_INFO} )
136139target_link_libraries (PyPartMC PRIVATE partmclib)
137- if (APPLE )
138- target_link_options (PyPartMC PRIVATE -Wl,-no_compact_unwind)
139- endif ()
140140
141141### pedantics ######################################################################################
142142
You can’t perform that action at this time.
0 commit comments