Skip to content

Commit 14182e9

Browse files
committed
Fix swagger-ui res path
1 parent 1a855af commit 14182e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ target_link_libraries(${project_name}-lib
4040

4141
add_definitions(
4242
# Path to swagger-ui resources #
43-
-DOATPP_SWAGGER_RES_PATH="${OATPP_BASE_DIR}/bin/oatpp-swagger/res"
43+
-DOATPP_SWAGGER_RES_PATH="${oatpp-swagger_INCLUDE_DIRS}/../bin/oatpp-swagger/res"
4444

4545
# Path to config file #
4646
-DCONFIG_PATH="${CMAKE_CURRENT_LIST_DIR}/resources/config.json"

0 commit comments

Comments
 (0)