diff options
Diffstat (limited to 'cmake/FindRapidJSON.cmake')
-rw-r--r-- | cmake/FindRapidJSON.cmake | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cmake/FindRapidJSON.cmake b/cmake/FindRapidJSON.cmake new file mode 100644 index 0000000..857bc9e --- /dev/null +++ b/cmake/FindRapidJSON.cmake @@ -0,0 +1,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) + |