File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,7 @@ include_directories("${PROJECT_SOURCE_DIR}/include")
157
157
158
158
# add sources of the wrapper as a "SQLiteCpp" static library
159
159
add_library (SQLiteCpp ${SQLITECPP_SRC} ${SQLITECPP_INC} ${SQLITECPP_DOC} ${SQLITECPP_SCRIPT} )
160
+ target_include_directories (SQLiteCpp PUBLIC "${PROJECT_SOURCE_DIR} /include" )
160
161
161
162
if (UNIX AND (CMAKE_COMPILER_IS_GNUCXX OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang" ))
162
163
set_target_properties (SQLiteCpp PROPERTIES COMPILE_FLAGS "-fPIC" )
@@ -170,6 +171,7 @@ if (SQLITECPP_INTERNAL_SQLITE)
170
171
# build the SQLite3 C library (for ease of use/compatibility) versus Linux sqlite3-dev package
171
172
add_subdirectory (sqlite3)
172
173
include_directories ("${PROJECT_SOURCE_DIR} /sqlite3" )
174
+ target_include_directories (sqlite3 PUBLIC "${PROJECT_SOURCE_DIR} /sqlite3" )
173
175
endif (SQLITECPP_INTERNAL_SQLITE)
174
176
175
177
You can’t perform that action at this time.
0 commit comments