From 87dcca85b6f7eab9e8a6b28afaa9d305cdffa670 Mon Sep 17 00:00:00 2001 From: lganzzzo Date: Sat, 11 Jan 2020 14:17:13 +0200 Subject: [PATCH] Increase oatpp version to 0.19.12 --- book-service/CMakeLists.txt | 4 ++-- facade/CMakeLists.txt | 4 ++-- monolith/all-services/CMakeLists.txt | 10 +++++----- user-service/CMakeLists.txt | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/book-service/CMakeLists.txt b/book-service/CMakeLists.txt index fba6167..1ecfc71 100644 --- a/book-service/CMakeLists.txt +++ b/book-service/CMakeLists.txt @@ -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 diff --git a/facade/CMakeLists.txt b/facade/CMakeLists.txt index 2ca8358..6986c97 100644 --- a/facade/CMakeLists.txt +++ b/facade/CMakeLists.txt @@ -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 diff --git a/monolith/all-services/CMakeLists.txt b/monolith/all-services/CMakeLists.txt index f44e6f4..6587f0d 100644 --- a/monolith/all-services/CMakeLists.txt +++ b/monolith/all-services/CMakeLists.txt @@ -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) @@ -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 diff --git a/user-service/CMakeLists.txt b/user-service/CMakeLists.txt index af9e4b4..7bd1ea1 100644 --- a/user-service/CMakeLists.txt +++ b/user-service/CMakeLists.txt @@ -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