We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76db346 + 111c9b0 commit 518e376Copy full SHA for 518e376
cmake/utils.cmake
@@ -16,6 +16,14 @@ endfunction ()
16
macro(ParseMakefileVars MAKEFILE_IN)
17
message(STATUS "Reading vars from ${MAKEFILE_IN}...")
18
set (C_COMPILER ${CMAKE_C_COMPILER_ID})
19
+ set (OSNAME ${CMAKE_SYSTEM_NAME})
20
+ if (${C_COMPILER} MATCHES Clang)
21
+ set (C_COMPILER CLANG)
22
+ endif ()
23
+ if (${OSNAME} STREQUAL Windows)
24
+ set (OSNAME WINNT)
25
26
+message(STATUS OS ${OSNAME} COMPILER ${C_COMPILER})
27
set (IfElse 0)
28
set (ElseSeen 0)
29
set (SkipIfs 0)
0 commit comments