[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/libs/kgllib
From:       Rivo Laks <rivolaks () hot ! ee>
Date:       2009-07-17 12:26:54
Message-ID: 1247833614.131919.19262.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 998320 by rivol:

We need to define GLEW_BUILD instead of GLEW_STATIC since the end result is a shared library.
Fixes linking on Windows.


 M  +1 -1      CMakeLists.txt  


--- trunk/playground/libs/kgllib/CMakeLists.txt #998319:998320
@@ -50,7 +50,7 @@
     message(STATUS "GLEW was not found. Using internal GLEW")
 
     include_directories(${CMAKE_CURRENT_SOURCE_DIR}/glew)
-    add_definitions(-DGLEW_STATIC)
+    add_definitions(-DGLEW_BUILD)
     add_subdirectory(glew)
     set(GLEW_GLEW_LIBRARY glew)
     if(WIN32)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic