Commit 503d5664 authored by Dieter Devlaminck's avatar Dieter Devlaminck

fixed bug in cmake-module

parent 2e568b3c
......@@ -91,13 +91,13 @@ IF(foundIncludeDir)
FIND_LIBRARY(LIB_presage libpresage-1 PATHS ${OV_CUSTOM_DEPENDENCIES_PATH}/presage/lib)
IF(LIB_GL AND LIB_FTGL AND LIB_SDL AND LIB_SDLmain AND LIB_SDL_image)
MESSAGE(STATUS " [ OK ] lib ${LIB_GL}, ${LIB_FTGL}, ${LIB_SDL}, ${LIB_SDLmain}, ${LIB_SDL_image}")
TARGET_LINK_LIBRARIES(${PROJECT_NAME}-dynamic ${LIB_GL} ${LIB_FTGL} ${LIB_SDL} ${LIB_SDLmain} ${LIB_SDL_image})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${LIB_GL} ${LIB_FTGL} ${LIB_SDL} ${LIB_SDLmain} ${LIB_SDL_image})
ELSE(LIB_GL AND LIB_FTGL AND LIB_SDL AND LIB_SDLmain AND LIB_SDL_image)
MESSAGE(STATUS " [FAILED] lib GL FTGL SDL")
ENDIF(LIB_GL AND LIB_FTGL AND LIB_SDL AND LIB_SDLmain AND LIB_SDL_image)
IF(LIB_presage)
MESSAGE(STATUS " [ OK ] lib ${LIB_presage}")
TARGET_LINK_LIBRARIES(${PROJECT_NAME}-dynamic ${LIB_presage})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${LIB_presage})
ELSE( LIB_presage)
MESSAGE(STATUS " [FAILED] lib presage")
ENDIF(LIB_presage)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment