From 8d084e8c8f48dd2f07d4a3fbd4a941a7bcc0dcfb Mon Sep 17 00:00:00 2001 From: Jason Wilkins Date: Tue, 7 Oct 2014 15:46:19 -0500 Subject: Ghost Context Refactor https://developer.blender.org/D643 Separates graphics context creation from window code in Ghost so that they can vary separately. --- intern/ghost/test/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'intern/ghost/test') diff --git a/intern/ghost/test/CMakeLists.txt b/intern/ghost/test/CMakeLists.txt index 84b6f663ff2..165f5b414b6 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}" "../") -- cgit v1.2.3