Skip to content

Commit 250fd87

Browse files
committed
Export build includes from graphqlservice #105
1 parent 2c6aa7a commit 250fd87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ target_link_libraries(graphqlservice PUBLIC
111111
graphqlpeg
112112
Threads::Threads)
113113
target_link_libraries(graphqlservice PUBLIC graphqlresponse)
114-
target_include_directories(graphqlservice SYSTEM PRIVATE
115-
${CMAKE_CURRENT_BINARY_DIR}/../include)
114+
target_include_directories(graphqlservice PUBLIC
115+
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/../include>)
116116

117117
if(WIN32 AND BUILD_SHARED_LIBS)
118118
target_compile_definitions(graphqlservice

0 commit comments

Comments
 (0)