diff options
Diffstat (limited to 'ports/sqlite-orm/fix-includes-not-found.patch')
| -rw-r--r-- | ports/sqlite-orm/fix-includes-not-found.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ports/sqlite-orm/fix-includes-not-found.patch b/ports/sqlite-orm/fix-includes-not-found.patch new file mode 100644 index 000000000..42ee7672c --- /dev/null +++ b/ports/sqlite-orm/fix-includes-not-found.patch @@ -0,0 +1,18 @@ +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)
|
