Mismatched endif() and endforeach() blocks not detected
Minimal reproducible example:
cmake_minimum_required(VERSION 3.14)
foreach(a 1) # Changing this to "foreach(a 1 2)" causes the error to appear as normal
if(0)
endforeach()
endif()
Minimal reproducible example:
cmake_minimum_required(VERSION 3.14)
foreach(a 1) # Changing this to "foreach(a 1 2)" causes the error to appear as normal
if(0)
endforeach()
endif()