mirror of
https://github.com/RetroShare/libretroshare.git
synced 2026-09-12 19:50:03 +05:00
fix(cmake): add missing target_include_directories for system rapidjson
This commit is contained in:
parent
b60973cc04
commit
e7086b28c0
@ -432,6 +432,9 @@ find_path(
|
||||
if(EXISTS "${RS_RAPIDJSON_INCLUDE}")
|
||||
message( STATUS
|
||||
"RapidJSON found in system at ${RS_RAPIDJSON_INCLUDE}" )
|
||||
target_include_directories(
|
||||
${PROJECT_NAME}
|
||||
PUBLIC "${RS_RAPIDJSON_INCLUDE}" )
|
||||
elseif(EXISTS "${RAPIDJSON_DEVEL_DIR}/CMakeLists.txt")
|
||||
message( STATUS
|
||||
"RapidJSON found in development dir at ${RAPIDJSON_DEVEL_DIR}" )
|
||||
|
||||
Loading…
Reference in New Issue
Block a user