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 @@ -75,9 +75,6 @@ macro(sundials_add_library target)
7575 target_include_directories (${target} PRIVATE ${SUNDIALS_SOURCE_DIR} /src/sundials)
7676 target_include_directories (${target} PRIVATE ${SUNDIALS_SOURCE_DIR} /include )
7777 target_include_directories (${target} PRIVATE ${CMAKE_BINARY_DIR} /include )
78- if (APPLE )
79- target_link_options (${target} PRIVATE -Wl,-no_compact_unwind)
80- endif ()
8178endmacro ()
8279
8380function (print_error)
@@ -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)
139+ endif ()
140140
141141### pedantics ######################################################################################
142142
You can’t perform that action at this time.
0 commit comments