fix: disable package registry export (#6569)
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@
|
|||||||
- Def: Fixed compilation error in tests with Clang 21. (#6519)
|
- Def: Fixed compilation error in tests with Clang 21. (#6519)
|
||||||
- Dev: Fixed compilation warnings on clang-cl. (#6528)
|
- Dev: Fixed compilation warnings on clang-cl. (#6528)
|
||||||
- Dev: Fixed compilation error in tests with Clang 21. (#6519)
|
- Dev: Fixed compilation error in tests with Clang 21. (#6519)
|
||||||
- Dev: Use CMake's `FetchContent` for RapidJSON, PajladaSignals, PajladaSerialize, and PajladaSettings. (#6560, #6567)
|
- Dev: Use CMake's `FetchContent` for RapidJSON, PajladaSignals, PajladaSerialize, and PajladaSettings. (#6560, #6567, #6569)
|
||||||
- Dev: The LuaLS meta files moved from `docs/plugin-meta.lua` to `docs/lua-meta/globals.lua`. (#6530)
|
- Dev: The LuaLS meta files moved from `docs/plugin-meta.lua` to `docs/lua-meta/globals.lua`. (#6530)
|
||||||
- Dev: Compile time definitions for `Windows.h` are now conditional based on `WIN32` instead of `MSVC`. (#6534)
|
- Dev: Compile time definitions for `Windows.h` are now conditional based on `WIN32` instead of `MSVC`. (#6534)
|
||||||
- Dev: Refactored split container nodes to use shared pointers. (#6435)
|
- Dev: Refactored split container nodes to use shared pointers. (#6435)
|
||||||
|
|||||||
+4
-3
@@ -1,4 +1,5 @@
|
|||||||
cmake_minimum_required(VERSION 3.15)
|
cmake_minimum_required(VERSION 3.15)
|
||||||
|
set(CMAKE_EXPORT_NO_PACKAGE_REGISTRY On) # For rapidjson
|
||||||
cmake_policy(SET CMP0087 NEW) # evaluates generator expressions in `install(CODE/SCRIPT)`
|
cmake_policy(SET CMP0087 NEW) # evaluates generator expressions in `install(CODE/SCRIPT)`
|
||||||
cmake_policy(SET CMP0091 NEW) # select MSVC runtime library through `CMAKE_MSVC_RUNTIME_LIBRARY`
|
cmake_policy(SET CMP0091 NEW) # select MSVC runtime library through `CMAKE_MSVC_RUNTIME_LIBRARY`
|
||||||
include(FeatureSummary)
|
include(FeatureSummary)
|
||||||
@@ -224,10 +225,10 @@ if (BUILD_BENCHMARKS)
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
rjlib
|
RapidJSON
|
||||||
SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/lib/rapidjson
|
SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/lib/rapidjson
|
||||||
EXCLUDE_FROM_ALL
|
EXCLUDE_FROM_ALL
|
||||||
FIND_PACKAGE_ARGS NAMES RapidJSON
|
FIND_PACKAGE_ARGS
|
||||||
)
|
)
|
||||||
set(RAPIDJSON_BUILD_EXAMPLES Off CACHE INTERNAL "")
|
set(RAPIDJSON_BUILD_EXAMPLES Off CACHE INTERNAL "")
|
||||||
set(RAPIDJSON_BUILD_TESTS Off CACHE INTERNAL "")
|
set(RAPIDJSON_BUILD_TESTS Off CACHE INTERNAL "")
|
||||||
@@ -248,7 +249,7 @@ FetchContent_Declare(
|
|||||||
EXCLUDE_FROM_ALL
|
EXCLUDE_FROM_ALL
|
||||||
)
|
)
|
||||||
|
|
||||||
FetchContent_MakeAvailable(rjlib PajladaSignals PajladaSerialize PajladaSettings)
|
FetchContent_MakeAvailable(RapidJSON PajladaSignals PajladaSerialize PajladaSettings)
|
||||||
|
|
||||||
find_package(LRUCache REQUIRED)
|
find_package(LRUCache REQUIRED)
|
||||||
find_package(MagicEnum REQUIRED)
|
find_package(MagicEnum REQUIRED)
|
||||||
|
|||||||
+1
-1
Submodule lib/serialize updated: a186548aae...f4a7dbfa64
+1
-1
Submodule lib/settings updated: ae393eaa81...d847148cbf
Reference in New Issue
Block a user