diff options
author | Christoph Gysin <christoph.gysin@gmail.com> | 2015-12-01 21:17:31 +0200 |
---|---|---|
committer | Christoph Gysin <christoph.gysin@gmail.com> | 2015-12-01 22:03:09 +0200 |
commit | 8f00eac07b78bc6cc76f071e869b6fc3255290f4 (patch) | |
tree | efde468de22f3fb6ccd46edddd82fcf2052c63f1 | |
parent | 2dedf206d79a3ce9c44c3216a2b148a2172b78fa (diff) |
cmake: remove old-style endif condition
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9aeea48e..e4c6c1df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,7 @@ if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git") OUTPUT_STRIP_TRAILING_WHITESPACE WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" ) -endif(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git") +endif() add_definitions("-DSWAY_GIT_VERSION=\"g${GIT_COMMIT_HASH}\"") add_definitions("-DSWAY_GIT_BRANCH=\"${GIT_BRANCH}\"") |