CMake fix - removed hidden variable SDLMAIN_LIBRARY from TARGET_LINK_LIBRARIES, it's not needed.
This commit is contained in:
parent
518822c12c
commit
57e003c3c6
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user