MantisBT - CMake
View Issue Details
0015548CMakeCMakepublic2015-04-30 03:322015-04-30 03:48
Mathieu Malaterre 
 
normalminorhave not tried
closedduplicate 
CMake 3.0.2 
 
0015548: Report syntax error for if/else/else construct
The following should be reported as containing a syntax error:

$ cat CMakeLists.txt
project(syntax)

if(WIN32)
  message("1")
else(APPLE)
  message("2")
else()
  message("3")
endif()
No tags attached.
duplicate of 0014335closed Kitware Robot CMake does not error on duplicate else() 
Issue History
2015-04-30 03:32Mathieu MalaterreNew Issue
2015-04-30 03:48Rolf Eike BeerRelationship addedduplicate of 0014335
2015-04-30 03:48Rolf Eike BeerStatusnew => closed
2015-04-30 03:48Rolf Eike BeerResolutionopen => duplicate
2015-04-30 03:48Rolf Eike BeerCategory(No Category) => CMake

There are no notes attached to this issue.