From caf9107a7216fd07f246643a955fe9298372c006 Mon Sep 17 00:00:00 2001 From: andyque Date: Wed, 19 Nov 2014 15:18:15 +0800 Subject: [PATCH] fix linux linker error --- cocos/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cocos/CMakeLists.txt b/cocos/CMakeLists.txt index 16aad5f9ed..fb6830007c 100644 --- a/cocos/CMakeLists.txt +++ b/cocos/CMakeLists.txt @@ -149,7 +149,8 @@ if(MINGW) elseif(WINDOWS) set(PLATFORM_SPECIFIC_LIBS libjpeg libpng libwebp libtiff libcurl_imp libwebsockets freetype250 glew32 opengl32 libiconv libzlib) elseif(LINUX) - set(PLATFORM_SPECIFIC_LIBS jpeg webp tiff freetype curl websockets ssl crypto fontconfig png pthread GLEW GL X11 rt z ${FMOD_LIB}) + set(PLATFORM_SPECIFIC_LIBS jpeg webp tiff freetype curl websockets ssl crypto + fontconfig png pthread glfw GLEW GL X11 rt z ${FMOD_LIB}) elseif(MACOSX OR APPLE) INCLUDE_DIRECTORIES ( /System/Library/Frameworks )