From 81a6de41a5f6f5a4340e834dfd4ca965ed694924 Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Mon, 24 Jun 2013 13:28:18 +0200 Subject: Some further changes in CMakeLists * removed DEV_BUILD autodetection (could be confusing) * ignore desktop subdirectory on Windows * some refactoring --- test/envs/opengl/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/envs/opengl') diff --git a/test/envs/opengl/CMakeLists.txt b/test/envs/opengl/CMakeLists.txt index c52b8b4..2855318 100644 --- a/test/envs/opengl/CMakeLists.txt +++ b/test/envs/opengl/CMakeLists.txt @@ -3,9 +3,9 @@ set(SRC_DIR ${colobot_SOURCE_DIR}/src) configure_file(${SRC_DIR}/common/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/common/config.h) # Platform-dependent implementation of system.h -if (${PLATFORM_WINDOWS}) +if(PLATFORM_WINDOWS) set(SYSTEM_CPP_MODULE "system_windows.cpp") -elseif(${PLATFORM_LINUX}) +elseif(PLATFORM_LINUX) set(SYSTEM_CPP_MODULE "system_linux.cpp") else() set(SYSTEM_CPP_MODULE "system_other.cpp") -- cgit v1.2.3-1-g7c22