mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-12 09:08:58 -05:00
f1b7e620f7
CMake defines MSVC only for a VS compiler, but the Intel compiler adds the preprocessor definition _MSC_VER. Instead of relying on separate tests to decide whether to use example_dll_2, we do one test in CMake and then add our own preprocessor definition.