We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44e4476 commit 656f004Copy full SHA for 656f004
CMakeLists.txt
@@ -136,7 +136,13 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
136
endif()
137
138
target_link_libraries(backend PRIVATE ${Nyxus_LIBRARIES})
139
-target_link_libraries(backend PRIVATE ${Python_LIBRARIES})
+
140
+if (NOT APPLE)
141
+ target_link_libraries(backend PRIVATE ${Python_LIBRARIES})
142
+else ()
143
+ set_target_properties(backend PROPERTIES LINK_FLAGS "-undefined dynamic_lookup")
144
+endif()
145
146
147
if(BUILD_CLI)
148
target_link_libraries(nyxus PRIVATE ${Nyxus_LIBRARIES})
0 commit comments