Skip to content

Commit 2cba24c

Browse files
committed
remove SWAGGER_ROOT_PATH options. Use dynamic config instead.
1 parent 5913f9d commit 2cba24c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

CMakeLists.txt

-7
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,6 @@ add_definitions(
6060
-DDATABASE_MIGRATIONS="${CMAKE_CURRENT_SOURCE_DIR}/sql"
6161
)
6262

63-
set(SWAGGER_ROOT_PATH "/swagger" CACHE STRING "Default root path to the Swagger")
64-
set(SWAGGER_UI_PATH "/ui" CACHE STRING "Default path suffix to the Swagger UI")
65-
add_compile_definitions(
66-
SWAGGER_ROOT_PATH="${SWAGGER_ROOT_PATH}"
67-
SWAGGER_UI_PATH="${SWAGGER_UI_PATH}"
68-
)
69-
7063
if(CMAKE_SYSTEM_NAME MATCHES Linux)
7164
find_package(Threads REQUIRED)
7265
target_link_libraries(crud-lib INTERFACE Threads::Threads ${CMAKE_DL_LIBS})

0 commit comments

Comments
 (0)