I have a if
statement in my .cmake
file which reads like:
if( (NOT ${GCC_VERSION} GREATER some_version ) AND something EQUAL somethingelse)
#todo ...
endif()
I need the NOT
only for the first check of the statement.
I get the following error:
CMake Error: Error in cmake code at
/.../XXX.cmake:123:
Parse error. Function missing ending ")". Instead found left paren with text "(".
Appreciate your kind help.