Page MenuHome
Paste P2866

(An Untitled Masterwork)
ActivePublic

Authored by Sergey Sharybin (sergey) on Mar 31 2022, 9:46 AM.
diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt
index 9421edecf12..2993aa4da4b 100644
--- a/intern/ghost/CMakeLists.txt
+++ b/intern/ghost/CMakeLists.txt
@@ -521,3 +521,7 @@ endif()
add_definitions(${GL_DEFINITIONS})
blender_add_lib(bf_intern_ghost "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
+
+if(UNIX AND NOT APPLE)
+ target_link_libraries(bf_intern_ghost ${CMAKE_DL_LIBS})
+endif()

Event Timeline

Sergey Sharybin (sergey) created this object with edit policy "Administrators".