From 02a9cd7559896267c7f84dfb2e7bf1e8b6bf4f81 Mon Sep 17 00:00:00 2001 From: Steffen Date: Sat, 17 Jan 2015 12:12:27 +0100 Subject: [PATCH] Added to TARGET_LINK_LIBRARIES, now compiles on my home pc. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c6c779f..caf8bbb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,4 +147,4 @@ SET (LIBRARIES ${LIBRARIES} ${CMAKE_SOURCE_DIR}/extern/lua/src/liblua.a) ADD_EXECUTABLE(MarbleRaceGroupC ${SOURCE_FILES} ${HEADER_FILES} ${SHADER_FILES} ${README_FILES}) -TARGET_LINK_LIBRARIES(MarbleRaceGroupC ${LIBRARIES}) +TARGET_LINK_LIBRARIES(MarbleRaceGroupC ${LIBRARIES} ${CMAKE_DL_LIBS})