We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7662396 commit 634b513Copy full SHA for 634b513
src/CMakeLists.txt
@@ -389,9 +389,10 @@ endif()
389
390
if(GRAPHQL_USE_TAOCPP_JSON)
391
find_package(taocpp-json CONFIG REQUIRED)
392
+ get_target_property(TAOCPP_JSON_INCLUDE_DIRS taocpp::json INTERFACE_INCLUDE_DIRECTORIES)
393
set(BUILD_GRAPHQLJSON ON)
394
add_library(graphqljson TaoCppJSONResponse.cpp)
- target_link_libraries(graphqljson PRIVATE taocpp::json)
395
+ target_include_directories(graphqljson PRIVATE ${TAOCPP_JSON_INCLUDE_DIRS})
396
elseif(GRAPHQL_USE_RAPIDJSON)
397
find_package(RapidJSON CONFIG REQUIRED)
398
0 commit comments