Skip to content

Commit

Permalink
Increase oatpp version to 0.19.12
Browse files Browse the repository at this point in the history
  • Loading branch information
lganzzzo committed Jan 11, 2020
1 parent 6aa37e9 commit 87dcca8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions book-service/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ target_include_directories(${project_name}-lib PUBLIC src)

## link libs

find_package(oatpp 0.19.11 REQUIRED)
find_package(oatpp-swagger 0.19.11 REQUIRED)
find_package(oatpp 0.19.12 REQUIRED)
find_package(oatpp-swagger 0.19.12 REQUIRED)

target_link_libraries(${project_name}-lib
PUBLIC oatpp::oatpp
Expand Down
4 changes: 2 additions & 2 deletions facade/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ target_include_directories(${project_name}-lib PUBLIC src)

## link libs

find_package(oatpp 0.19.11 REQUIRED)
find_package(oatpp-swagger 0.19.11 REQUIRED)
find_package(oatpp 0.19.12 REQUIRED)
find_package(oatpp-swagger 0.19.12 REQUIRED)

target_link_libraries(${project_name}-lib
PUBLIC oatpp::oatpp
Expand Down
10 changes: 5 additions & 5 deletions monolith/all-services/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ add_executable(${project_name}-exe
App.cpp
)

## define path to swagger-ui res folder
add_definitions(-DOATPP_SWAGGER_RES_PATH="${OATPP_BASE_DIR}/bin/oatpp-swagger/res")

set(USER_SERVICE_DIR ${CMAKE_CURRENT_LIST_DIR}/../../user-service/build)
set(BOOK_SERVICE_DIR ${CMAKE_CURRENT_LIST_DIR}/../../book-service/build)
set(FACADE_SERVICE_DIR ${CMAKE_CURRENT_LIST_DIR}/../../facade/build)
Expand Down Expand Up @@ -44,8 +41,11 @@ target_link_libraries(${project_name}-exe
PUBLIC ${FACADE_LIBRARY}
)

find_package(oatpp 0.19.11 REQUIRED)
find_package(oatpp-swagger 0.19.11 REQUIRED)
find_package(oatpp 0.19.12 REQUIRED)
find_package(oatpp-swagger 0.19.12 REQUIRED)

## define path to swagger-ui res folder
add_definitions(-DOATPP_SWAGGER_RES_PATH="${OATPP_BASE_DIR}/bin/oatpp-swagger/res")

target_link_libraries(${project_name}-exe
PUBLIC oatpp::oatpp
Expand Down
4 changes: 2 additions & 2 deletions user-service/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ target_include_directories(${project_name}-lib PUBLIC src)

## link libs

find_package(oatpp 0.19.11 REQUIRED)
find_package(oatpp-swagger 0.19.11 REQUIRED)
find_package(oatpp 0.19.12 REQUIRED)
find_package(oatpp-swagger 0.19.12 REQUIRED)

target_link_libraries(${project_name}-lib
PUBLIC oatpp::oatpp
Expand Down

0 comments on commit 87dcca8

Please sign in to comment.