diff options
author | Andrew Kaster <akaster@serenityos.org> | 2022-12-13 18:57:01 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-14 12:43:12 +0100 |
commit | 16d47912122ce27ce4e9a00b783090d6c696f7ba (patch) | |
tree | a59db1d1bf95a6afbb2ad3a2b1cf1014229ff7de /Meta/Lagom | |
parent | f96a3c002aa994d5811a677bd93553ccf9a8abf1 (diff) | |
download | serenity-16d47912122ce27ce4e9a00b783090d6c696f7ba.zip |
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.
Diffstat (limited to 'Meta/Lagom')
-rw-r--r-- | Meta/Lagom/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt index 56cfcbe139..1ae5b7a725 100644 --- a/Meta/Lagom/CMakeLists.txt +++ b/Meta/Lagom/CMakeLists.txt @@ -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) |