File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 1
1
find_package (SQLite3 )
2
2
3
- add_library (bux-sqlite STATIC oo_sqlite.cpp )
4
-
5
- if (SQLITE3_FOUND )
6
- include_directories (${SQLITE3_INCLUDE_DIRS} )
7
- target_link_libraries (bux-sqlite ${SQLITE3_LIBRARIES} )
8
- else ()
3
+ if (NOT SQLITE3_FOUND )
9
4
message ("SQLite3 not found" )
10
- endif (SQLITE3_FOUND )
5
+ endif ()
6
+
7
+ add_library (bux-sqlite STATIC oo_sqlite.cpp )
11
8
12
9
if (DEFINED FETCH_DEPENDEES )
13
- target_include_directories (bux-sqlite PRIVATE ../include )
10
+ target_include_directories (bux-sqlite PRIVATE ../include ${SQLITE3_INCLUDE_DIRS} )
14
11
else ()
15
- target_include_directories (bux-sqlite PRIVATE ../include ../${DEPENDEE_ROOT}/bux/include )
12
+ target_include_directories (bux-sqlite PRIVATE ../include ../${DEPENDEE_ROOT}/bux/include ${SQLITE3_INCLUDE_DIRS} )
16
13
endif ()
14
+ target_link_libraries (bux-sqlite ${SQLITE3_LIBRARIES} )
You can’t perform that action at this time.
0 commit comments