summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt26
1 files changed, 13 insertions, 13 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d54a32f..4dafd72 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,24 +55,24 @@ option( BUILD_TESTS "Building the tests yes or no (default off)" OFF)
##### testing ###################################
-SET(TESTINGBUILD OFF CACHE BOOL "Enable/Disable special testing flags")
-IF (TESTINGBUILD)
- ADD_DEFINITIONS("-DTESTING_RC=\"\\\"\${CMAKE_SOURCE_DIR}/src/tdesvnui.rc\\\"\" -DTESTING_PARTRC=\"\\\"\${CMAKE_SOURCE_DIR}/src/tdesvn_part.rc\\\"\"")
- ADD_DEFINITIONS("-DFORCE_ASKPASS=\"\\\"\${CMAKE_BINARY_DIR}/bin/tdesvnaskpass\\\"\"")
-ENDIF (TESTINGBUILD)
+set(TESTINGBUILD OFF CACHE BOOL "Enable/Disable special testing flags")
+if (TESTINGBUILD)
+ add_definitions("-DTESTING_RC=\"\\\"\${CMAKE_SOURCE_DIR}/src/tdesvnui.rc\\\"\" -DTESTING_PARTRC=\"\\\"\${CMAKE_SOURCE_DIR}/src/tdesvn_part.rc\\\"\"")
+ add_definitions("-DFORCE_ASKPASS=\"\\\"\${CMAKE_BINARY_DIR}/bin/tdesvnaskpass\\\"\"")
+endif (TESTINGBUILD)
-IF(BUILD_TESTS)
- ENABLE_TESTING()
-ENDIF(BUILD_TESTS)
+if(BUILD_TESTS)
+ enable_testing()
+endif(BUILD_TESTS)
##### versioning ################################
-SET(BASE_VERSION 1.0.4)
-SET(KDESVN_VERSION "$ENV{KDESVN_VERSION}")
-IF(NOT KDESVN_VERSION)
- SET(KDESVN_VERSION ${BASE_VERSION})
-ENDIF(NOT KDESVN_VERSION)
+set(BASE_VERSION 1.0.4)
+set(KDESVN_VERSION "$ENV{KDESVN_VERSION}")
+if(NOT KDESVN_VERSION)
+ set(KDESVN_VERSION ${BASE_VERSION})
+endif(NOT KDESVN_VERSION)
##### configure checks ##########################