diff options
author | Renato Alves <simpledark+manasource@gmail.com> | 2010-07-22 22:42:54 +0200 |
---|---|---|
committer | Bernd Wachter <bwachter-tmw@lart.info> | 2010-07-23 12:27:55 +0300 |
commit | 94067246b02a981e3e3b058120551beb8a830c7e (patch) | |
tree | 1c81a4bcc64429c260dbc1276f549414d831a25d /src/CMakeLists.txt | |
parent | 89765ba6256ee39bf034ae6fddf9adacca6dbdd1 (diff) | |
download | mana-94067246b02a981e3e3b058120551beb8a830c7e.tar.gz mana-94067246b02a981e3e3b058120551beb8a830c7e.tar.bz2 mana-94067246b02a981e3e3b058120551beb8a830c7e.tar.xz mana-94067246b02a981e3e3b058120551beb8a830c7e.zip |
Fixing compatibility with cmake 2.6.0
The syntax IF ((condition) OR (condition)) is not accepted by cmake
prior to 2.6.4.
The syntax IF (NOT (condition OR condition)) is also not accepted.
The patch should address this without affecting newer versions.
A newline character was also automatically added to the end of the file.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b15948d3..9b38b496 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -32,8 +32,8 @@ ENDIF() IF (CMAKE_BUILD_TYPE) STRING(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_TOLOWER) - IF((CMAKE_BUILD_TYPE_TOLOWER MATCHES debug) OR - (CMAKE_BUILD_TYPE_TOLOWER MATCHES relwithdebinfo)) + IF(CMAKE_BUILD_TYPE_TOLOWER MATCHES debug OR + CMAKE_BUILD_TYPE_TOLOWER MATCHES relwithdebinfo) SET(FLAGS "${FLAGS} -DDEBUG") ENDIF() ENDIF() |