From: Julian Ospald Date: Fri Jun 15 10:42:42 UTC 2012 Subject: build system fix underlinking diff --git a/MyGUIEngine/CMakeLists.txt b/MyGUIEngine/CMakeLists.txt --- a/MyGUIEngine/CMakeLists.txt +++ b/MyGUIEngine/CMakeLists.txt @@ -44,7 +44,10 @@ if (MYGUI_USE_FREETYPE) target_link_libraries(${PROJECTNAME} ${FREETYPE_LIBRARIES} ${ZLIB_LIBRARIES} - ) + dl) +else() + target_link_libraries(${PROJECTNAME} + dl) endif() # platform specific dependencies