Skip to content

Commit 0678a15

Browse files
committed
Fix default installation path
1 parent 25d6b26 commit 0678a15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Release/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ enable_testing()
1818
set(WERROR ON CACHE BOOL "Treat Warnings as Errors.")
1919
set(CPPREST_EXCLUDE_WEBSOCKETS OFF CACHE BOOL "Exclude websockets functionality.")
2020
set(CPPREST_EXCLUDE_COMPRESSION OFF CACHE BOOL "Exclude compression functionality.")
21-
set(CPPREST_EXPORT_DIR lib/cpprestsdk CACHE STRING "Directory to install CMake config files.")
21+
set(CPPREST_EXPORT_DIR cmake CACHE STRING "Directory to install CMake config files.")
2222
set(CPPREST_INSTALL_HEADERS ON CACHE BOOL "Install header files.")
2323
set(CPPREST_INSTALL ON CACHE BOOL "Add install commands.")
2424

Release/src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,6 @@ if(CPPREST_INSTALL)
268268
EXPORT cpprestsdk-targets
269269
FILE cpprestsdk-targets.cmake
270270
NAMESPACE cpprestsdk::
271-
DESTINATION ${CPPREST_EXPORT_DIR}
271+
DESTINATION ${CMAKE_INSTALL_LIBDIR}/${CPPREST_EXPORT_DIR}
272272
)
273273
endif()

0 commit comments

Comments
 (0)