Skip to content

Commit

Permalink
Link sqlite_orm to modules_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
trueqbit committed Jul 22, 2024
1 parent d9a6810 commit 495c2a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ if(SQLITE_ORM_ENABLE_CXX_23 AND CMAKE_VERSION VERSION_GREATER_EQUAL 3.28.2 AND M
target_precompile_headers(module_tests PRIVATE
<sqlite3.h>)

# note: sqlite3 already linked in top-level CMakeLists
target_link_libraries(module_tests PRIVATE sqlite_orm)

add_test(NAME "module_tests"
COMMAND module_tests
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
Expand Down

0 comments on commit 495c2a4

Please sign in to comment.