You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the above error when trying to add coverage flags to my project. It seems to be related to checking the compilers for each of the available languages.
Relevant CMake code:
# Debug info to help with this issueget_property(LANGUAGESGLOBALPROPERTY ENABLED_LANGUAGES)
message("ALL LANGUAGES: ${LANGUAGES}")
foreach(LANG ${LANGUAGES})
message("${LANG} compiler is \"${CMAKE_${LANG}_COMPILER_ID}\"")
endforeach()
# Error hit by this lineinclude(CodeCoverage)
Relevant output of CMake:
ALL LANGUAGES: ASM;C;CXX;NONE
ASM compiler is ""
C compiler is "Clang"
CXX compiler is "Clang"
NONE compiler is ""
CMake Error at lib/cmake-modules/CodeCoverage.cmake:159 (message):
Compiler is not GNU or Flang! Aborting...
Call Stack (most recent call first):
CMakeLists.txt:132 (include)
Please let me know if there's any more information I can provide
The text was updated successfully, but these errors were encountered:
I am getting the above error when trying to add coverage flags to my project. It seems to be related to checking the compilers for each of the available languages.
Relevant CMake code:
Relevant output of CMake:
Please let me know if there's any more information I can provide
The text was updated successfully, but these errors were encountered: