if(): Test the effect of cmMakefileCall use in elseif() handling.
This commit is contained in:
parent
9b4aefad41
commit
1ec1bf9f07
|
@ -2,3 +2,4 @@ include(RunCMake)
|
||||||
|
|
||||||
run_cmake(IsDirectory)
|
run_cmake(IsDirectory)
|
||||||
run_cmake(IsDirectoryLong)
|
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()
|
Loading…
Reference in New Issue