[Bf-blender-cvs] [532d9a6] soc-2014-viewport_context: Fix for tests in X11
Campbell Barton
noreply at git.blender.org
Mon Jul 28 20:58:13 CEST 2014
Commit: 532d9a64e5a9512ea9c6f727c5c8e549a7704b1f
Author: Campbell Barton
Date: Tue Jul 29 04:57:32 2014 +1000
Branches: soc-2014-viewport_context
https://developer.blender.org/rB532d9a64e5a9512ea9c6f727c5c8e549a7704b1f
Fix for tests in X11
===================================================================
M intern/ghost/test/CMakeLists.txt
===================================================================
diff --git a/intern/ghost/test/CMakeLists.txt b/intern/ghost/test/CMakeLists.txt
index 84b6f66..165f5b4 100644
--- a/intern/ghost/test/CMakeLists.txt
+++ b/intern/ghost/test/CMakeLists.txt
@@ -74,6 +74,12 @@ endif()
# -----------------------------------------------------------------------------
# Libraries
+if(UNIX AND NOT APPLE)
+ set(WITH_X11 ON)
+endif()
+# for now... default to this
+add_definitions(-DWITH_GL_PROFILE_COMPAT)
+
# ghost
include(${CMAKE_SOURCE_DIR}/../CMakeLists.txt)
suffix_relpaths(INC_NEW "${INC}" "../")
More information about the Bf-blender-cvs
mailing list