From 4d362fd53936e75b11455f6e919de5b4cd664d3a Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Tue, 9 Aug 2022 21:06:36 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20rapidjson=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index acb1690..cce7559 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -115,6 +115,9 @@ configure_linker(project_options) # sanitizer options if supported by compiler enable_sanitizers(project_options) +# Prepare RapidJSON (RapidJSON is a header-only library) +set(RAPIDJSON_INCLUDE_DIR "${rapidjson_SOURCE_DIR}/include") + include_directories(${CMAKE_SOURCE_DIR}/src ${RAPIDJSON_INCLUDE_DIR}) if(COS_INSTALLER_BUILD_TESTS)