mirror of
https://github.com/allankoechke/SQLiteCpp.git
synced 2026-12-03 17:12:45 +00:00
Fix #267 'SQLiteCpp/SQLiteCpp.h' file not found
Issue introduced by Commit a166062c Significantly improved support for external sqlite3, and generalized thread and dl libs on Unix/Linux/Mac
This commit is contained in:
@@ -252,6 +252,9 @@ install(TARGETS SQLiteCpp
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
COMPONENT libraries)
|
||||
target_include_directories(SQLiteCpp PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
$<INSTALL_INTERFACE:include/>)
|
||||
install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT headers FILES_MATCHING REGEX ".*\\.(hpp|h)$")
|
||||
install(EXPORT ${PROJECT_NAME}Targets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user