File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ target_sources(graphql_internal_modules PUBLIC FILE_SET HEADERS
8888 FILES
8989 ${INCLUDE_ROOT} /graphqlservice/internal /Awaitable.h
9090 ${INCLUDE_ROOT} /graphqlservice/internal /Base64.h
91+ ${INCLUDE_ROOT} /graphqlservice/internal /DllExports.h
9192 ${INCLUDE_ROOT} /graphqlservice/internal /Grammar.h
9293 ${INCLUDE_ROOT} /graphqlservice/internal /Introspection.h
9394 ${INCLUDE_ROOT} /graphqlservice/internal /Schema.h
@@ -389,9 +390,10 @@ endif()
389390
390391if (GRAPHQL_USE_TAOCPP_JSON)
391392 find_package (taocpp-json CONFIG REQUIRED)
393+ get_target_property (TAOCPP_JSON_INCLUDE_DIRS taocpp::json INTERFACE_INCLUDE_DIRECTORIES )
392394 set (BUILD_GRAPHQLJSON ON )
393395 add_library (graphqljson TaoCppJSONResponse.cpp)
394- target_link_libraries (graphqljson PRIVATE taocpp::json )
396+ target_include_directories (graphqljson PRIVATE ${TAOCPP_JSON_INCLUDE_DIRS} )
395397elseif (GRAPHQL_USE_RAPIDJSON)
396398 find_package (RapidJSON CONFIG REQUIRED)
397399 set (BUILD_GRAPHQLJSON ON )
You can’t perform that action at this time.
0 commit comments