Skip to content

Commit 5109361

Browse files
committed
[polly][CMake] Replace elseif () with else ()
The no-argument elseif resulted in the warning below: CMake Warning (dev) at polly/lib/External/CMakeLists.txt:30 (elseif): ELSEIF called with no arguments, it will be skipped.
1 parent eef79c8 commit 5109361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

polly/lib/External/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (POLLY_BUNDLED_ISL)
2727
# The source directory is preconfigured
2828
file(READ "${ISL_SOURCE_DIR}/gitversion.h" GITVERSION_H)
2929
string(REGEX REPLACE ".*\\\"([^\\\"]*)\\\".*" "\\1" ISL_GIT_HEAD_ID "${GITVERSION_H}")
30-
elseif ()
30+
else ()
3131
# Unknown revision
3232
# TODO: We could look for a .git and get the revision from HEAD
3333
set(ISL_GIT_HEAD_ID "UNKNOWN")

0 commit comments

Comments
 (0)