Skip to content

Commit 6ed4206

Browse files
committed
Fix swagger-ui res path
1 parent ef7628c commit 6ed4206

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
@@ -37,7 +37,7 @@ target_link_libraries(crud-lib
3737

3838
add_definitions(
3939
## define path to swagger-ui static resources folder
40-
-DOATPP_SWAGGER_RES_PATH="${OATPP_BASE_DIR}/bin/oatpp-swagger/res"
40+
-DOATPP_SWAGGER_RES_PATH="${oatpp-swagger_INCLUDE_DIRS}/../bin/oatpp-swagger/res"
4141

4242
## SQLite databse file
4343
-DDATABASE_FILE="${CMAKE_CURRENT_SOURCE_DIR}/db.sqlite"

0 commit comments

Comments
 (0)