Filipe Sousa wrote:
Hi,I have some FindFoo.cmake scripts that uses big IF commands: FIND_PROGRAM(FOO_EXEC ...) IF(FOO_EXEC) # a lot of code ENDIF() With a RETURN or EXIT command I could remove some nested code FIND_PROGRAM(FOO_EXEC ...) IF(NOT FOO_EXEC) RETURN() or EXIT()
MESSAGE(FATAL_ERRORO "Could not find FOO_EXEC.") -Brad _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
