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 23, 2024
1 parent bfe7c9d commit a184fa0
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 @@ -485,6 +485,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 a184fa0

Please sign in to comment.