Skip to content

Commit

Permalink
[FIXUP] cmake: Deduplicate configuration specific flags
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed May 21, 2024
1 parent f094511 commit 158dc82
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,11 @@ else()
endif()
unset(compiler_supports_g3)
unset(c_flags_debug_overridden)

deduplicate_flags(CMAKE_C_FLAGS_RELWITHDEBINFO)
deduplicate_flags(CMAKE_CXX_FLAGS_RELWITHDEBINFO)
deduplicate_flags(CMAKE_C_FLAGS_DEBUG)
deduplicate_flags(CMAKE_CXX_FLAGS_DEBUG)
endif()

include(cmake/optional.cmake)
Expand Down

0 comments on commit 158dc82

Please sign in to comment.