Skip to content

Commit 869efa4

Browse files
authored
Merge pull request microsoft#282 from EajksEajks/master
Adding the TARGET_INCLUDE_DIRECTORIES directive to CMakeLists.txt for…
2 parents 41520ca + a6ed2e5 commit 869efa4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Release/src/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ endif()
114114

115115
add_library(cpprest ${SOURCES})
116116

117+
target_include_directories(cpprest
118+
INTERFACE $<INSTALL_INTERFACE:include>
119+
PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
120+
)
121+
117122
target_link_libraries(cpprest
118123
${CMAKE_THREAD_LIBS_INIT}
119124
${Boost_SYSTEM_LIBRARY}

0 commit comments

Comments
 (0)