mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 00:16:22 +01:00
cmake: remove old-style endif condition
This commit is contained in:
parent
2dedf206d7
commit
8f00eac07b
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git")
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
|
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_VERSION=\"g${GIT_COMMIT_HASH}\"")
|
||||||
add_definitions("-DSWAY_GIT_BRANCH=\"${GIT_BRANCH}\"")
|
add_definitions("-DSWAY_GIT_BRANCH=\"${GIT_BRANCH}\"")
|
||||||
|
|
Loading…
Reference in a new issue