Skip to content

Commit

Permalink
add clang to the list
Browse files Browse the repository at this point in the history
  • Loading branch information
Rossmaxx committed Nov 13, 2024
1 parent 8c4bdea commit 0256dcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -665,8 +665,8 @@ elseif(MSVC)
add_compile_options("/utf-8")
ENDIF()

# gcc builds support gprof for profiling
if(NOT CMAKE_CXX_COMPILER_ID MATCHES "GNU")
# gcc/clang builds support gprof for profiling
if(NOT CMAKE_CXX_COMPILER_ID MATCHES "GNU|CLANG")
set(STATUS_GPROF ", NOT SUPPORTED BY THIS COMPILER")
set(WANT_DEBUG_GPROF OFF)
endif()
Expand Down

0 comments on commit 0256dcf

Please sign in to comment.