mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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:
committed by
Andreas Kling
parent
f96a3c002a
commit
16d4791212
@@ -39,7 +39,7 @@ if(NOT COMMAND serenity_option)
|
||||
set(${ARGV})
|
||||
endmacro()
|
||||
endif()
|
||||
include(serenity_options)
|
||||
include(serenity_options NO_POLICY_SCOPE)
|
||||
|
||||
include(setup_ccache)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user