Skip to content

Commit

Permalink
external: scope_guard: disable template-id-ctor warning
Browse files Browse the repository at this point in the history
GCC warns about C++20 while we're using C++17
  • Loading branch information
muttleyxd committed Jul 22, 2024
1 parent 3be78ea commit 9c9e02b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions external/scope_guard/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
add_library(scope_guard INTERFACE)
target_include_directories(scope_guard INTERFACE .)
target_compile_options(scope_guard INTERFACE "-Wno-template-id-cdtor")

add_library(rihab::scope_guard ALIAS scope_guard)

0 comments on commit 9c9e02b

Please sign in to comment.