From 43aa313280318f469350e10d5e6e1f8be74d5a70 Mon Sep 17 00:00:00 2001 From: Jonathan De Wachter Date: Thu, 26 Dec 2013 15:41:31 +0100 Subject: [PATCH] Don't link against freetype and jpeg library twice --- src/SFML/Graphics/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Graphics/CMakeLists.txt b/src/SFML/Graphics/CMakeLists.txt index 005d8d8f4..713773bd2 100644 --- a/src/SFML/Graphics/CMakeLists.txt +++ b/src/SFML/Graphics/CMakeLists.txt @@ -133,7 +133,7 @@ include_directories(${FREETYPE_INCLUDE_DIRS} ${JPEG_INCLUDE_DIR}) # build the list of external libraries to link 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) list(APPEND GRAPHICS_EXT_LIBS ${X11_LIBRARIES}) endif()