CMake fix - removed hidden variable SDLMAIN_LIBRARY from TARGET_LINK_LIBRARIES, it's not needed.

This commit is contained in:
Cameron Hart 2013-01-26 05:56:31 +00:00
parent 518822c12c
commit 57e003c3c6

View File

@ -76,7 +76,7 @@ ELSE(XCODE)
ADD_EXECUTABLE(RecastDemo WIN32 ${recastdemo_SRCS} ${recastdemo_HDRS}) ADD_EXECUTABLE(RecastDemo WIN32 ${recastdemo_SRCS} ${recastdemo_HDRS})
ENDIF(XCODE) 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) IF(MSVC)
# Enable some linker optimisations # Enable some linker optimisations