Don't link against freetype and jpeg library twice
This commit is contained in:
parent
e12b94c989
commit
43aa313280
@ -133,7 +133,7 @@ include_directories(${FREETYPE_INCLUDE_DIRS} ${JPEG_INCLUDE_DIR})
|
|||||||
|
|
||||||
# build the list of external libraries to link
|
# build the list of external libraries to link
|
||||||
if(NOT SFML_OPENGL_ES)
|
if(NOT SFML_OPENGL_ES)
|
||||||
list(APPEND GRAPHICS_EXT_LIBS ${FREETYPE_LIBRARY} ${GLEW_LIBRARY} ${JPEG_LIBRARY} ${OPENGL_gl_LIBRARY})
|
list(APPEND GRAPHICS_EXT_LIBS ${GLEW_LIBRARY} ${OPENGL_gl_LIBRARY})
|
||||||
if(SFML_OS_LINUX)
|
if(SFML_OS_LINUX)
|
||||||
list(APPEND GRAPHICS_EXT_LIBS ${X11_LIBRARIES})
|
list(APPEND GRAPHICS_EXT_LIBS ${X11_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user