Update build script

This commit is contained in:
Tindy X 2019-12-26 23:39:47 +08:00
parent 3971bcc688
commit 2b21d4d71a
No known key found for this signature in database
GPG Key ID: C6AD413169968D58

View File

@ -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)