mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
ENH: support parenthesis as arguments and in conditionals feature request #6191
This commit is contained in:
@@ -369,6 +369,12 @@ int main()
|
||||
cmFailed("ELSEIF did not work");
|
||||
#endif
|
||||
|
||||
#ifdef CONDITIONAL_PARENTHESES
|
||||
cmPassed("CONDITIONAL_PARENTHESES did work");
|
||||
#else
|
||||
cmFailed("CONDITIONAL_PARENTHESES did not work");
|
||||
#endif
|
||||
|
||||
if(file2() != 1)
|
||||
{
|
||||
cmFailed("Call to file2 function from library failed.");
|
||||
|
||||
Reference in New Issue
Block a user