vcpkg/ports/sqlite-orm/fix-includes-not-found.patch
2020-08-19 21:42:29 -07:00

19 lines
695 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5ffbdf3..a6b2659 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -43,11 +43,11 @@ set(SqliteOrm_INCLUDE "${CMAKE_CURRENT_SOURCE_DIR}/include")
add_library(sqlite_orm INTERFACE)
target_sources(sqlite_orm INTERFACE
- $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include/sqlite_orm/sqlite_orm.h>
+ $<BUILD_INTERFACE:${SqliteOrm_INCLUDE}/include/sqlite_orm/sqlite_orm.h>
$<INSTALL_INTERFACE:include/sqlite_orm/sqlite_orm.h>)
target_include_directories(sqlite_orm INTERFACE
- $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
+ $<BUILD_INTERFACE:${SqliteOrm_INCLUDE}/include>
$<INSTALL_INTERFACE:include>)
include(ucm)