if (MSVC)
...
else (MSVC)
message(FATAL_ERROR "shouldn't get here")
endif (MSVC)
Christopher Harvey wrote:
how can you be sure it's not going into the if? what's the full code?
Brad Aisa wrote:
The cmake web site says
MSVC: True when using Microsoft Visual C
However if I put it in test like this:
if (MSVC)
...
it is not true!
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake