Miguel A. Figueroa-Villanueva wrote:
I think the following documentation for the IF command:<snip> IF(variable1 OR variable2) True if either variable would be considered true individually. IF(COMMAND command-name) True if the given name is a file or directory. IF(EXISTS file-name) IF(EXISTS directory-name) True if the given name is a directory. IF(IS_DIRECTORY directory-name) True if the named file or directory exists. IF(variable MATCHES regex) IF(string MATCHES regex)True if the given string or variable's value matches the given regularexpression. <snip> should read something like: <snip> IF(variable1 OR variable2) True if either variable would be considered true individually. IF(COMMAND command-name) True if the given name is a command that can be invoked. IF(EXISTS file-name) IF(EXISTS directory-name) True if the named file or directory exists. IF(IS_DIRECTORY directory-name) True if the given name is a directory. IF(variable MATCHES regex) IF(string MATCHES regex)True if the given string or variable's value matches the given regularexpression. <snip> If this is correct, the attached file should work.
Thanks, I'll commit it. -Brad _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
