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.
1 parent b716c0e commit 89ae305Copy full SHA for 89ae305
cmake/utils.cmake
@@ -74,6 +74,9 @@ macro(ParseMakefileVars MAKEFILE_IN)
74
string(REGEX MATCH "ifneq \\(\\$\\(([_A-Z]+)\\),[ \t]*([0-9_A-Z]+)\\)" line_match "${makefile_line}")
75
if (NOT "${line_match}" STREQUAL "")
76
# message(STATUS "IFNEQ: ${line_match} first: ${CMAKE_MATCH_1} second: ${CMAKE_MATCH_2}")
77
+ if ( ${CMAKE_MATCH_1} STREQUAL C_COMPILER)
78
+ set (CMAKE_MATCH_1 CMAKE_C_COMPILER)
79
+ endif ()
80
if (NOT ( ${${CMAKE_MATCH_1}} STREQUAL ${CMAKE_MATCH_2}))
81
# message (STATUS "condition is true")
82
set (IfElse 1)
0 commit comments