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,9 +120,6 @@ 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 ()
126123
127124### PYBIND11 & PyPartMC ############################################################################
128125
@@ -137,6 +134,9 @@ target_include_directories(PyPartMC PRIVATE
137134)
138135target_compile_definitions (PyPartMC PRIVATE VERSION_INFO=${VERSION_INFO} )
139136target_link_libraries (PyPartMC PRIVATE partmclib)
137+ if (APPLE )
138+ target_link_options (PyPartMC PRIVATE -Wl,-no_compact_unwind -Wl,-keep_dwarf_unwind)
139+ endif ()
140140
141141### pedantics ######################################################################################
142142
You can’t perform that action at this time.
0 commit comments