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})