8000 Use if (MSVC) as per issue #160 · unittest-cpp/unittest-cpp@a6fdaee · GitHub
[go: up one dir, main page]

Skip to content

Commit a6fdaee

Browse files
committed
Use if (MSVC) as per issue #160
1 parent 85b3666 commit a6fdaee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ option(UTPP_AMPLIFY_WARNINGS
1313

1414
set(LIB_SUFFIX "" CACHE STRING "Identifier to add to end of lib directory name e.g. 64 for lib64")
1515

16-
if(${CMAKE_CXX_COMPILER_ID} MATCHES "MSVC")
16+
if (MSVC)
1717
# CHECK_CXX_COMPILER_FLAG could be used
1818
# but MSVC version is preferred for feature requirements
1919
if (MSVC14 OR MSVC12)

0 commit comments

Comments
 (0)
0