Skip to content

Commit

Permalink
Merge pull request #332 from wravery/next
Browse files Browse the repository at this point in the history
  • Loading branch information
wravery authored Oct 23, 2024
2 parents 633c50b + 075e172 commit 150387a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ target_sources(graphql_internal_modules PUBLIC FILE_SET HEADERS
FILES
${INCLUDE_ROOT}/graphqlservice/internal/Awaitable.h
${INCLUDE_ROOT}/graphqlservice/internal/Base64.h
${INCLUDE_ROOT}/graphqlservice/internal/DllExports.h
${INCLUDE_ROOT}/graphqlservice/internal/Grammar.h
${INCLUDE_ROOT}/graphqlservice/internal/Introspection.h
${INCLUDE_ROOT}/graphqlservice/internal/Schema.h
Expand Down Expand Up @@ -389,9 +390,10 @@ endif()

if(GRAPHQL_USE_TAOCPP_JSON)
find_package(taocpp-json CONFIG REQUIRED)
get_target_property(TAOCPP_JSON_INCLUDE_DIRS taocpp::json INTERFACE_INCLUDE_DIRECTORIES)
set(BUILD_GRAPHQLJSON ON)
add_library(graphqljson TaoCppJSONResponse.cpp)
target_link_libraries(graphqljson PRIVATE taocpp::json)
target_include_directories(graphqljson PRIVATE ${TAOCPP_JSON_INCLUDE_DIRS})
elseif(GRAPHQL_USE_RAPIDJSON)
find_package(RapidJSON CONFIG REQUIRED)
set(BUILD_GRAPHQLJSON ON)
Expand Down

0 comments on commit 150387a

Please sign in to comment.