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)
25
25
26
26
## link libs
27
27
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 )
33
31
34
32
target_link_libraries (crud-lib
35
33
# Oat++
36
34
PUBLIC oatpp::oatpp
37
35
PUBLIC oatpp::oatpp-swagger
38
36
PUBLIC oatpp::oatpp-sqlite
39
-
40
- # SQLite
41
- SQLite::SQLite3
42
37
)
43
38
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
+
44
50
add_definitions (
45
51
## define path to swagger-ui static resources folder
46
52
-DOATPP_SWAGGER_RES_PATH= "${oatpp-swagger_INCLUDE_DIRS}/../bin/oatpp-swagger/res"
You can’t perform that action at this time.
0 commit comments