David Cole escreveu:
> What about:
> MESSAGE("X${CMAKE_CXX_FLAGS}X")
Same thing.
> There is nothing in CMAKE_CXX_FLAGS -- it's just the behavior of MESSAGE
> when you pass it a list instead of a single string...
I think there is... another proof:
if(${CMAKE_CXX_FLAGS} STREQUAL " ")
MESSAGE("equal!")
else(${CMAKE_CXX_FLAGS} STREQUAL " ")
MESSAGE("not equal!")
endif(${CMAKE_CXX_FLAGS} STREQUAL " ")
This returns "equal!" in my system...
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake