]> git.cworth.org Git - apitrace/blobdiff - CMakeLists.txt
Create contexts with DEBUG_BIT when not benchmarking.
[apitrace] / CMakeLists.txt
index 8987c7dd01d9c68b7e78d6611511505d5524132a..c81e44d8f0131e15766a27bd2821fee5d648a437 100755 (executable)
@@ -197,10 +197,10 @@ add_custom_command (
 
 if (WIN32)
     set (os os_win32.cpp)
-    set (glws glws_wgl.cpp)
+    set (glws_os glws_wgl.cpp)
 else (WIN32)
     set (os os_posix.cpp)
-    set (glws glws_glx.cpp)
+    set (glws_os glws_glx.cpp)
 endif (WIN32)
 
 add_library (common STATIC
@@ -413,7 +413,8 @@ add_executable (glretrace
     glstate.cpp
     glstate_params.cpp
     retrace.cpp
-    ${glws}
+    glws.cpp
+    ${glws_os}
     ${CMAKE_CURRENT_BINARY_DIR}/glproc.hpp
 )