We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
${SQLITE3_LIBRARIES}
SQLite::SQLite3
1 parent 045f9a3 commit b6b95e2Copy full SHA for b6b95e2
src/CMakeLists.txt
@@ -1,4 +1,4 @@
1
-find_package (SQLite3)
+find_package (SQLite3 REQUIRED)
2
3
if (NOT SQLITE3_FOUND)
4
message("SQLite3 not found")
@@ -11,4 +11,4 @@ if(DEFINED FETCH_DEPENDEES)
11
else()
12
target_include_directories(bux-sqlite PRIVATE ../include ../${DEPENDEE_ROOT}/bux/include ${SQLITE3_INCLUDE_DIRS})
13
endif()
14
-target_link_libraries (bux-sqlite ${SQLITE3_LIBRARIES})
+target_link_libraries (bux-sqlite PRIVATE SQLite::SQLite3)
0 commit comments