summarylogtreecommitdiffstats
path: root/module-install.cmake.patch
blob: 123300bf7a0c306340d4a2e0934d96404022378d (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
*** oatpp-sqlite/cmake/module-install.cmake	2021-05-22 17:46:41.528316778 +0100
--- oatpp-sqlite/cmake/module-install.cmake	2021-05-22 17:48:14.608316607 +0100
***************
*** 59,72 ****
  
  install(TARGETS ${OATPP_THIS_MODULE_TARGETS}
          EXPORT "${OATPP_MODULE_NAME}Targets"
!         ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}/oatpp-${OATPP_MODULE_VERSION}"
!         LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/oatpp-${OATPP_MODULE_VERSION}"
!         RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}/oatpp-${OATPP_MODULE_VERSION}"
!         INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/oatpp-${OATPP_MODULE_VERSION}/${OATPP_MODULE_NAME}"
  )
  
  install(DIRECTORY ${OATPP_DIRS_TO_INSTALL}
!         DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/oatpp-${OATPP_MODULE_VERSION}/${OATPP_MODULE_NAME}"
          FILES_MATCHING
          PATTERN "*.hpp"
          PATTERN "*.h"
--- 59,72 ----
  
  install(TARGETS ${OATPP_THIS_MODULE_TARGETS}
          EXPORT "${OATPP_MODULE_NAME}Targets"
!         ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
!         LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
!         RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
!         INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
  )
  
  install(DIRECTORY ${OATPP_DIRS_TO_INSTALL}
!         DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
          FILES_MATCHING
          PATTERN "*.hpp"
          PATTERN "*.h"
***************
*** 106,109 ****
              "${CMAKE_CURRENT_BINARY_DIR}/${OATPP_MODULE_NAME}ConfigVersion.cmake"
          DESTINATION
              "${CMAKE_INSTALL_LIBDIR}/cmake/${OATPP_MODULE_NAME}-${OATPP_MODULE_VERSION}"
! )
\ No newline at end of file
--- 106,109 ----
              "${CMAKE_CURRENT_BINARY_DIR}/${OATPP_MODULE_NAME}ConfigVersion.cmake"
          DESTINATION
              "${CMAKE_INSTALL_LIBDIR}/cmake/${OATPP_MODULE_NAME}-${OATPP_MODULE_VERSION}"
! )