File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed
Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -25,22 +25,28 @@ target_include_directories(crud-lib PUBLIC src)
2525
2626## link libs
2727
28- find_package (SQLite3 REQUIRED)
29-
30- find_package (oatpp 1.2.0 REQUIRED)
31- find_package (oatpp-swagger 1.2.0 REQUIRED)
32- find_package (oatpp-sqlite 1.2.0 REQUIRED)
28+ find_package (oatpp 1.2.5 REQUIRED)
29+ find_package (oatpp-swagger 1.2.5 REQUIRED)
30+ find_package (oatpp-sqlite 1.2.5 REQUIRED)
3331
3432target_link_libraries (crud-lib
3533 # Oat++
3634 PUBLIC oatpp::oatpp
3735 PUBLIC oatpp::oatpp-swagger
3836 PUBLIC oatpp::oatpp-sqlite
39-
40- # SQLite
41- SQLite::SQLite3
4237)
4338
39+ # If CMake can't find SQLite3:
40+ #
41+ # 1. Make sure that you've built oatpp-sqlite with -DOATPP_SQLITE_AMALGAMATION=ON flag
42+ # 2. If you are not willing to use SQLite amalgamation then uncomment the following lines:
43+ #
44+ #find_package(SQLite3 REQUIRED)
45+ #
46+ #target_link_libraries(crud-lib
47+ # PUBLIC SQLite::SQLite3
48+ #)
49+
4450add_definitions (
4551 ## define path to swagger-ui static resources folder
4652 -DOATPP_SWAGGER_RES_PATH="${oatpp-swagger_INCLUDE_DIRS}/../bin/oatpp-swagger/res"
You can’t perform that action at this time.
0 commit comments