mirror of
https://git.chinosk6.cn/chinosk/gkms-localify-dmm.git
synced 2026-02-04 09:04:53 +00:00
初始适配
This commit is contained in:
25
deps/rapidjson/RapidJSONConfig.cmake.in
vendored
Normal file
25
deps/rapidjson/RapidJSONConfig.cmake.in
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
# CMake minimum version required
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
|
||||
################################################################################
|
||||
# RapidJSON source dir
|
||||
set( RapidJSON_SOURCE_DIR "@CONFIG_SOURCE_DIR@")
|
||||
|
||||
################################################################################
|
||||
# RapidJSON build dir
|
||||
set( RapidJSON_DIR "@CONFIG_DIR@")
|
||||
|
||||
################################################################################
|
||||
# Compute paths
|
||||
get_filename_component(RapidJSON_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
||||
|
||||
set( RapidJSON_INCLUDE_DIR "@RapidJSON_INCLUDE_DIR@" )
|
||||
set( RapidJSON_INCLUDE_DIRS "@RapidJSON_INCLUDE_DIR@" )
|
||||
message(STATUS "RapidJSON found. Headers: ${RapidJSON_INCLUDE_DIRS}")
|
||||
|
||||
if(NOT TARGET rapidjson)
|
||||
add_library(rapidjson INTERFACE IMPORTED)
|
||||
set_property(TARGET rapidjson PROPERTY
|
||||
INTERFACE_INCLUDE_DIRECTORIES ${RapidJSON_INCLUDE_DIRS})
|
||||
endif()
|
||||
Reference in New Issue
Block a user