Skip to content

Commit d7eafd7

Browse files
committed
Fix CMake/Ninja build in VS 2017
1 parent bbd0ebe commit d7eafd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ elseif(WIN32)
2121
set(CPPRESTSDK_LIB cpprestsdk::cpprest)
2222
endif()
2323

24-
target_include_directories(graphqlservice SYSTEM PUBLIC ${CMAKE_PREFIX_PATH}/include)
24+
target_include_directories(graphqlservice SYSTEM PUBLIC ${CMAKE_PREFIX_PATH}/include ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR})
2525
target_link_libraries(graphqlservice ${CPPRESTSDK_LIB} ${GRAPHQLPARSER})
2626
target_link_libraries(schemagen ${CPPRESTSDK_LIB} ${GRAPHQLPARSER})
2727

0 commit comments

Comments
 (0)