mirror of
https://github.com/unittest-cpp/unittest-cpp
synced 2026-09-26 16:19:30 +03:00
Use if (MSVC) as per issue #160
This commit is contained in:
parent
85b3666173
commit
a6fdaeef12
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ option(UTPP_AMPLIFY_WARNINGS
|
|||
|
||||
set(LIB_SUFFIX "" CACHE STRING "Identifier to add to end of lib directory name e.g. 64 for lib64")
|
||||
|
||||
if(${CMAKE_CXX_COMPILER_ID} MATCHES "MSVC")
|
||||
if (MSVC)
|
||||
# CHECK_CXX_COMPILER_FLAG could be used
|
||||
# but MSVC version is preferred for feature requirements
|
||||
if (MSVC14 OR MSVC12)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue