Closed wenqing closed 6 years ago
as titled. For msvc 2010, if (COMPILER_IS_MSVC), which is set by checking CMAKE_C_COMPILER_ID, does not work.
if (COMPILER_IS_MSVC)
I think it is enough to check for MSVC.
@bilke Thanks. Changed accordingly.
as titled. For msvc 2010,
if (COMPILER_IS_MSVC)
, which is set by checking CMAKE_C_COMPILER_ID, does not work.