aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindRapidJSON.cmake
blob: 857bc9e30b760285a21efc19e6ce1debd2830a6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
### Get same spdlog as Northstar

if (RapidJSON_FOUND)
	return()
endif()

find_package(NorthstarPluginABI REQUIRED)

check_init_submodule(${NS_LAUNCHER_DIR}/thirdparty/rapidjson)

add_library(rapidjson_header INTERFACE)
target_include_directories(rapidjson_header INTERFACE "${NS_LAUNCHER_DIR}/thirdparty")
target_include_directories(rapidjson_header INTERFACE "${NS_LAUNCHER_DIR}/thirdparty/rapidjson")

set(RapidJSON_FOUND 1)