Skip to content

Commit 8d7716f

Browse files
committed
Better Swagger-UI resources path.
1 parent b41e26e commit 8d7716f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ target_link_libraries(crud-lib
3030

3131
## define path to swagger-ui res folder
3232

33-
add_definitions(-DOATPP_SWAGGER_RES_PATH="${oatpp-swagger_INCLUDE_DIRS}/../bin/oatpp-swagger/res")
33+
add_definitions(-DOATPP_SWAGGER_RES_PATH="${OATPP_BASE_DIR}/bin/oatpp-swagger/res")
3434

3535

3636
## add executables

0 commit comments

Comments
 (0)