Skip to content

Commit bc5d87f

Browse files
authored
Merge pull request #161 from martinmoene/cmake
Use if (MSVC) as per issue #160
2 parents 85b3666 + a6fdaee commit bc5d87f

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy