mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:47:45 +00:00
CMake: Pass NO_POLICY_SCOPE to options cmake helpers
Tell CMake to not create a new policy scope for the (lagom|serenity|common)_options.cmake helpers, and lets us set common policies for both projects in common_options.cmake that actually apply to the rest of the project, instead of just common_options.cmake itself.
This commit is contained in:
parent
f96a3c002a
commit
16d4791212
4 changed files with 4 additions and 4 deletions
|
@ -34,7 +34,7 @@ if(NOT COMMAND serenity_option)
|
|||
endif()
|
||||
|
||||
include(check_for_dependencies)
|
||||
include(lagom_options)
|
||||
include(lagom_options NO_POLICY_SCOPE)
|
||||
|
||||
if(ENABLE_ALL_THE_DEBUG_MACROS)
|
||||
include(all_the_debug_macros)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue