]> git.jsancho.org Git - lugaru.git/commitdiff
Do not link against OpenGL library
authorAlexander Monakov <amonakov@gmail.com>
Mon, 2 May 2011 08:31:29 +0000 (12:31 +0400)
committerAlexander Monakov <amonakov@gmail.com>
Mon, 2 May 2011 08:31:29 +0000 (12:31 +0400)
CMakeLists.txt
Source/OpenGL_Windows.cpp

index 62dd78e2e939859294f2b18f526788da4d9ff3a0..4775a5ec9eeb1a6d75139967d163090259844df7 100644 (file)
@@ -496,7 +496,7 @@ include_directories(
     ${CMAKE_SOURCE_DIR}/Source
 )
 
-set(LUGARU_LIBS ${OPENAL_LIBRARY} ${PNG_LIBRARY} ${JPEG_LIBRARY} ${ZLIB_LIBRARIES} ${SDL_LIBRARY} ${GLU_LIBRARY} ${OPENGL_LIBRARY} ${VORBISFILE_LIBRARY} ${OGG_LIBRARY} ${PLATFORM_LIBS})
+set(LUGARU_LIBS ${OPENAL_LIBRARY} ${PNG_LIBRARY} ${JPEG_LIBRARY} ${ZLIB_LIBRARIES} ${SDL_LIBRARY} ${OPENGL_glu_LIBRARY} ${VORBISFILE_LIBRARY} ${OGG_LIBRARY} ${PLATFORM_LIBS})
 
 
 if(WIN32)
index 5b3d92671336f5bd2ce16b9d7639f802e4e07740..f5aed92e9a0851d151ef68d4a57d5f28ac0cd747 100644 (file)
@@ -54,13 +54,6 @@ static bool save_png(const char * fname);
 
 #include "openal_wrapper.h"
 
-// ADDED GWC
-#ifdef _MSC_VER
-#pragma comment(lib, "opengl32.lib")
-#pragma comment(lib, "glu32.lib")
-#pragma comment(lib, "glaux.lib")
-#endif
-
 extern float multiplier;
 extern float sps;
 extern float realmultiplier;