From 2b21d4d71adb4a480770c7b8c8241d18cf939b5f Mon Sep 17 00:00:00 2001 From: Tindy X <49061470+tindy2013@users.noreply.github.com> Date: Thu, 26 Dec 2019 23:39:47 +0800 Subject: [PATCH] Update build script --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 643c034..c6946fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,7 @@ INCLUDE_DIRECTORIES(${OPENSSL_INCLUDE_DIR}) TARGET_LINK_LIBRARIES(subconverter ${OPENSSL_LIBRARIES}) PKG_CHECK_MODULES(RAPIDJSON RapidJSON REQUIRED) -FIND_PATH(RAPIDJSON_INCLUDE_DIR NAMES rapidjson.h PATHS ${RAPIDJSON_INCLUDE_DIRS}) +FIND_PATH(RAPIDJSON_INCLUDE_DIR NAMES rapidjson/rapidjson.h PATHS ${RAPIDJSON_INCLUDE_DIRS}) INCLUDE_DIRECTORIES(${RAPIDJSON_INCLUDE_DIR}) PKG_CHECK_MODULES(YAML_CPP yaml-cpp REQUIRED)