added sfml dependencies
This commit is contained in:
parent
9164ae8832
commit
9e5cea53ad
@ -105,8 +105,17 @@ if(USE_SFML)
|
|||||||
${LIB_PATHS}
|
${LIB_PATHS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(USE_OPENGL True)
|
||||||
|
|
||||||
add_definitions(-DSFML_STATIC)
|
add_definitions(-DSFML_STATIC)
|
||||||
LIST(APPEND LIB_DEPENDENCIES_LIST ${SFML_LIBRARY_AUDIO} ${SFML_LIBRARY_GRAPHICS} ${SFML_LIBRARY_WINDOW} ${SFML_LIBRARY_SYSTEM})
|
|
||||||
|
LIST(APPEND LIB_DEPENDENCIES_LIST ${SFML_LIBRARY_AUDIO} ${SFML_LIBRARY_GRAPHICS} ${SFML_LIBRARY_SYSTEM} ${SFML_LIBRARY_WINDOW})
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
LIST(APPEND LIB_DEPENDENCIES_LIST winmm gdi32 freetype jpeg openal32 flac vorbisenc vorbisfile vorbis ogg)
|
||||||
|
elseif(UNIX)
|
||||||
|
LIST(APPEND LIB_DEPENDENCIES_LIST freetype jpeg openal flac vorbisenc vorbisfile vorbis ogg)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(USE_RENDERER)
|
if(USE_RENDERER)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user