summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2013-06-24 13:28:18 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2013-06-24 14:17:28 +0200
commit81a6de41a5f6f5a4340e834dfd4ca965ed694924 (patch)
tree80b5b4f8b004f2314f2a648e2c7531aaa1b7ae79 /lib
parent3e989c96dff7889aff5b6476bf2a8fb9c541bd95 (diff)
downloadcolobot-81a6de41a5f6f5a4340e834dfd4ca965ed694924.tar.gz
colobot-81a6de41a5f6f5a4340e834dfd4ca965ed694924.tar.bz2
colobot-81a6de41a5f6f5a4340e834dfd4ca965ed694924.zip
Some further changes in CMakeLists
* removed DEV_BUILD autodetection (could be confusing) * ignore desktop subdirectory on Windows * some refactoring
Diffstat (limited to 'lib')
-rw-r--r--lib/clipboard/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/clipboard/CMakeLists.txt b/lib/clipboard/CMakeLists.txt
index 4e83ce3..a189ec4 100644
--- a/lib/clipboard/CMakeLists.txt
+++ b/lib/clipboard/CMakeLists.txt
@@ -5,9 +5,9 @@ include_directories(. include/clipboard)
add_definitions(-DLIB_COMPILE=1)
-if (${PLATFORM_WINDOWS})
+if(PLATFORM_WINDOWS)
set(CLIPBOARD_SRC src/clipboardWin32.c)
-elseif (${PLATFORM_LINUX})
+elseif(PLATFORM_LINUX)
set(CLIPBOARD_SRC src/clipboardX11.c)
else()
set(CLIPBOARD_SRC src/clipboardX11.c)