Skip to content

Commit

Permalink
Link to sqlite3 target to create dependency hierachy
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon0402 authored and rbock committed Jan 31, 2021
1 parent 9ce7de1 commit 9772aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectors/sqlite3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if (SQLITE3_FOUND)
)

target_link_libraries(sqlpp17-connector-sqlite3 INTERFACE sqlpp17)
target_link_libraries(sqlpp17-connector-sqlite3 INTERFACE "${SQLITE3_LIBRARIES}")
target_link_libraries(sqlpp17-connector-sqlite3 INTERFACE SQLite::SQLite3)

if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING)
add_subdirectory(tests)
Expand Down

0 comments on commit 9772aea

Please sign in to comment.