Skip to content

Commit 35e858a

Browse files
committed
fix all-services/CMakeLists.txt
1 parent 1285cef commit 35e858a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

monolith/all-services/CMakeLists.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@ add_executable(${project_name}-exe
1010
App.cpp
1111
)
1212

13-
find_package(oatpp 0.19.9 REQUIRED)
14-
find_package(oatpp-swagger 0.19.9 REQUIRED)
15-
16-
target_link_libraries(${project_name}-exe
17-
PUBLIC oatpp::oatpp
18-
PUBLIC oatpp::oatpp-swagger
19-
)
20-
2113
## define path to swagger-ui res folder
2214
add_definitions(-DOATPP_SWAGGER_RES_PATH="${OATPP_BASE_DIR}/bin/oatpp-swagger/res")
2315

@@ -51,3 +43,11 @@ target_link_libraries(${project_name}-exe
5143
PUBLIC ${BOOK_LIBRARY}
5244
PUBLIC ${FACADE_LIBRARY}
5345
)
46+
47+
find_package(oatpp 0.19.9 REQUIRED)
48+
find_package(oatpp-swagger 0.19.9 REQUIRED)
49+
50+
target_link_libraries(${project_name}-exe
51+
PUBLIC oatpp::oatpp
52+
PUBLIC oatpp::oatpp-swagger
53+
)

0 commit comments

Comments
 (0)