We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffc1a3e commit 76bd3b2Copy full SHA for 76bd3b2
CMakeLists.txt
@@ -252,6 +252,9 @@ install(TARGETS SQLiteCpp
252
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
253
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
254
COMPONENT libraries)
255
+target_include_directories(SQLiteCpp PUBLIC
256
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
257
+ $<INSTALL_INTERFACE:include/>)
258
install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT headers FILES_MATCHING REGEX ".*\\.(hpp|h)$")
259
install(EXPORT ${PROJECT_NAME}Targets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME})
260
0 commit comments