summaryrefslogtreecommitdiff
blob: 2d1026856f037e43173cc5f5439d6a7ea8f71bc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Julian Ospald <hasufell@gentoo.org>
Date: Fri Jun 15 10:42:42 UTC 2012
Subject: build system

fix underlinking

--- MyGUIEngine/CMakeLists.txt
+++ MyGUIEngine/CMakeLists.txt
@@ -48,7 +48,10 @@
 if (MYGUI_USE_FREETYPE)
 	target_link_libraries(${PROJECTNAME}
 		${FREETYPE_LIBRARIES}
-	)
+		dl)
+else()
+	target_link_libraries(${PROJECTNAME}
+		dl)
 endif()
 
 # platform specific dependencies