blob: 0815fe47f3f1aa40b4cf5b489da109944140b60a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
*** oatpp-swagger/src/CMakeLists.txt 2021-05-22 17:39:11.158317607 +0100
--- oatpp-swagger/src/CMakeLists.txt 2021-05-22 17:43:41.528317109 +0100
***************
*** 38,48 ****
## install swagger-ui files
install(DIRECTORY ../res
! DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/oatpp-${OATPP_MODULE_VERSION}/bin/${OATPP_MODULE_NAME}"
FILES_MATCHING PATTERN "*.*"
)
## set environment variable to point to swagger-ui res files
! set(ENV{OATPP_SWAGGER_RES_PATH} "${CMAKE_INSTALL_INCLUDEDIR}/oatpp-${OATPP_MODULE_VERSION}/bin/${OATPP_MODULE_NAME}/res")
endif()
--- 38,48 ----
## install swagger-ui files
install(DIRECTORY ../res
! DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/${OATPP_MODULE_NAME}/bin"
FILES_MATCHING PATTERN "*.*"
)
## set environment variable to point to swagger-ui res files
! set(ENV{OATPP_SWAGGER_RES_PATH} "${CMAKE_INSTALL_INCLUDEDIR}/${OATPP_THIS_MODULE_NAME}/bin/res")
endif()
|