mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-12 23:43:59 +03:00
if(): Test the effect of cmMakefileCall use in elseif() handling.
This commit is contained in:
1 parent
9b4aefad41
commit
1ec1bf9f07
4 files changed
+14
No files matched your search
@@ -2,3 +2,4 @@ include(RunCMake)
|
||||
|
||||
run_cmake(IsDirectory)
|
||||
run_cmake(IsDirectoryLong)
|
||||
run_cmake(elseif-message)
|
||||
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -0,0 +1,8 @@
|
||||
CMake Error at elseif-message.cmake:[0-9]+ \(elseif\):
|
||||
given arguments:
|
||||
|
||||
"Unknown" "arguments"
|
||||
|
||||
Unknown arguments specified
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists.txt:3 \(include\)
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
if (0)
|
||||
elseif(Unknown arguments)
|
||||
endif()
|
||||
Reference in new issue
Block a user