File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77project (VEFontCache LANGUAGES C CXX )
88
99set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded" )
10- set (CMAKE_POLICY_DEFAULT_CMP0091 NEW)
1110
1211set (CMAKE_CXX_STANDARD 20)
1312set (CMAKE_CXX_STANDARD_REQUIRED ON )
@@ -35,17 +34,21 @@ if(VEFC_ENABLE_FREETYPE)
3534 if (POLICY CMP0077)
3635 cmake_policy (SET CMP0077 NEW )
3736 endif ()
37+ set (CMAKE_POLICY_DEFAULT_CMP0091 NEW)
3838 FetchContent_MakeAvailable (freetype)
39+ unset (CMAKE_POLICY_DEFAULT_CMP0091 )
3940endif ()
4041
4142if (VEFC_ENABLE_HARFBUZZ)
43+ set (CMAKE_POLICY_DEFAULT_CMP0091 NEW)
4244 FetchContent_Declare (
4345 harfbuzz
4446 GIT_REPOSITORY https://github.com/harfbuzz/harfbuzz.git
4547 GIT_TAG 11.2.1
4648 )
4749 set (HB_BUILD_SUBSET OFF CACHE BOOL "" FORCE )
4850 FetchContent_MakeAvailable (harfbuzz)
51+ unset (CMAKE_POLICY_DEFAULT_CMP0091 )
4952endif ()
5053
5154if (VEFC_BUILD_DEMO OR VEFC_BUILD_VRHI)
You can’t perform that action at this time.
0 commit comments