diff options
author | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2011-01-04 20:33:23 +0100 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-26 01:44:12 +0200 |
commit | b107fe6da278e5e2d1aeb37a615ce5ada9700b09 (patch) | |
tree | 1563af918b1506102fd071e29195312960c64b38 /CMakeLists.txt | |
parent | 31f06adabfb867c5bc2959a63874c07bec4a8319 (diff) | |
download | manaverse-b107fe6da278e5e2d1aeb37a615ce5ada9700b09.tar.gz manaverse-b107fe6da278e5e2d1aeb37a615ce5ada9700b09.tar.bz2 manaverse-b107fe6da278e5e2d1aeb37a615ce5ada9700b09.tar.xz manaverse-b107fe6da278e5e2d1aeb37a615ce5ada9700b09.zip |
Fixed paste under X11
The check for whether we're not compiling for Mac was evaluating to
false, apparently since it used the wrong CMake syntax.
Reviewed-by: Bernd Wachter
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3939854c5..737ac5cc6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,9 +37,9 @@ IF (WIN32) SET(LOCALEDIR ".") CONFIGURE_FILE(src/winver.h.in src/winver.h) ELSE (WIN32) - IF (!OSX) + IF (NOT OSX) OPTION(USE_X11 "Use X11 Clipboard functionality" ON) - ENDIF (!OSX) + ENDIF () SET(PKG_DATADIR ${CMAKE_INSTALL_PREFIX}/share/manaplus) SET(LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale) SET(PKG_BINDIR ${CMAKE_INSTALL_PREFIX}/bin) |