From 57e003c3c65770ec1934fb30821387e1ea4181a1 Mon Sep 17 00:00:00 2001 From: Cameron Hart Date: Sat, 26 Jan 2013 05:56:31 +0000 Subject: [PATCH] CMake fix - removed hidden variable SDLMAIN_LIBRARY from TARGET_LINK_LIBRARIES, it's not needed. --- RecastDemo/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RecastDemo/CMakeLists.txt b/RecastDemo/CMakeLists.txt index e2ce779..ce7e85e 100644 --- a/RecastDemo/CMakeLists.txt +++ b/RecastDemo/CMakeLists.txt @@ -76,7 +76,7 @@ ELSE(XCODE) ADD_EXECUTABLE(RecastDemo WIN32 ${recastdemo_SRCS} ${recastdemo_HDRS}) ENDIF(XCODE) -TARGET_LINK_LIBRARIES(RecastDemo DebugUtils Detour DetourCrowd DetourTileCache Recast ${SDL_LIBRARY} ${SDLMAIN_LIBRARY} ${OPENGL_LIBRARIES}) +TARGET_LINK_LIBRARIES(RecastDemo DebugUtils Detour DetourCrowd DetourTileCache Recast ${SDL_LIBRARY} ${OPENGL_LIBRARIES}) IF(MSVC) # Enable some linker optimisations