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 c6bcdfb commit 9571d3bCopy full SHA for 9571d3b
src/lib_json/CMakeLists.txt
@@ -1,4 +1,4 @@
1
-if(CMAKE_COMPILER_IS_GNUCXX)
+if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
2
#Get compiler version.
3
execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion
4
OUTPUT_VARIABLE GNUCXX_VERSION
0 commit comments