Skip to content

Commit e8e2089

Browse files
committed
Fix CMakeLists.txt
1 parent cbd45b9 commit e8e2089

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,20 @@ target_include_directories(crud-lib PUBLIC src)
2525

2626
## link libs
2727

28+
find_package(SQLite3 REQUIRED)
29+
2830
find_package(oatpp 1.2.0 REQUIRED)
2931
find_package(oatpp-swagger 1.2.0 REQUIRED)
3032
find_package(oatpp-sqlite 1.2.0 REQUIRED)
3133

3234
target_link_libraries(crud-lib
35+
# Oat++
3336
PUBLIC oatpp::oatpp
3437
PUBLIC oatpp::oatpp-swagger
3538
PUBLIC oatpp::oatpp-sqlite
39+
40+
# SQLite
41+
SQLite::SQLite3
3642
)
3743

3844
add_definitions(

0 commit comments

Comments
 (0)