[ACCEPTED]-How to abort processing CMakeLists for current directory-cmake
From the CMake documentation
return: Return from a directory 7 or function.
Returns from a directory or 6 function. When this command is encountered, it caused 5 process of the current function or directory 4 to stop and control is return to the caller 3 of the function, or the parent directory 2 if any. Note that a macro is not a function 1 and does not handle return like a function does.
More Related questions