diff Resources/CMake/Compiler.cmake @ 1031:703a552b52bc

missing dependency
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 10 Jul 2014 15:13:33 +0200
parents 8811abd6aec9
children 3a26bc6e4867
line wrap: on
line diff
--- a/Resources/CMake/Compiler.cmake	Thu Jul 10 14:45:43 2014 +0200
+++ b/Resources/CMake/Compiler.cmake	Thu Jul 10 15:13:33 2014 +0200
@@ -56,7 +56,7 @@
   # Remove the "-rdynamic" option
   # http://www.mail-archive.com/cmake@cmake.org/msg08837.html
   set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "")
-  link_libraries(uuid pthread rt)
+  link_libraries(uuid pthread rt dl)
 
 elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
   add_definitions(