Skip to content

Commit

Permalink
cmake: fix clang compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Nov 28, 2024
1 parent 336b3c4 commit d07c9d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ else()
message(STATUS "Configuring hyprgraphics in Release")
endif()

if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
add_compile_definitions(__cpp_concepts=202002L)
endif()

file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp" "include/*.hpp")
file(GLOB_RECURSE PUBLIC_HEADERS CONFIGURE_DEPENDS "include/*.hpp")

Expand Down

0 comments on commit d07c9d9

Please sign in to comment.