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 12ceb01 commit 30eb5ceCopy full SHA for 30eb5ce
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