summaryrefslogtreecommitdiff
blob: 7702c1d2c6dbbe693d47df6b039ef68c3c71eb48 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- CMakeLists.txt.old	2011-06-06 23:56:09.367125536 +0200
+++ CMakeLists.txt	2011-06-06 23:56:19.311748807 +0200
@@ -703,7 +703,7 @@
 
 if(ALLEGRO_UNIX) # not MACOSX
     list(APPEND LIBRARY_SOURCES ${ALLEGRO_SRC_UNIX_FILES})
-    list(APPEND PLATFORM_LIBS m ${CMAKE_THREAD_LIBS_INIT})
+    list(APPEND PLATFORM_LIBS dl m ${CMAKE_THREAD_LIBS_INIT})
 endif(ALLEGRO_UNIX)
 
 if(SUPPORT_X11)