Skip to content

Commit edc5ad8

Browse files
committed
Merge remote-tracking branch 'origin/master' into compress
2 parents 982793d + f897582 commit edc5ad8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.0)
1+
cmake_minimum_required(VERSION 3.1)
22
project(cpprestsdk-root NONE)
33

44
add_subdirectory(Release)

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ target_link_libraries(main PRIVATE cpprestsdk::cpprest)
4747
* Features - HTTP client/server, JSON, URI, asynchronous streams, WebSockets client, oAuth
4848
* PPL Tasks - A powerful model for composing asynchronous operations based on C++ 11 features
4949
* Platforms - Windows desktop, Windows Store (UWP), Linux, OS X, Unix, iOS, and Android
50-
* Support for Visual Studio 2015 and 2017 with debugger visualizers
50+
* Support for [Visual Studio 2015 and 2017](https://visualstudio.microsoft.com/) with debugger visualizers
5151

5252
## Contribute Back!
5353

Release/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ 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.")
2121
set(CPPREST_EXCLUDE_BROTLI ON CACHE BOOL "Exclude Brotli compression functionality.")
22-
set(CPPREST_EXPORT_DIR lib/cpprestsdk CACHE STRING "Directory to install CMake config files.")
22+
set(CPPREST_EXPORT_DIR cpprestsdk CACHE STRING "Directory to install CMake config files.")
2323
set(CPPREST_INSTALL_HEADERS ON CACHE BOOL "Install header files.")
2424
set(CPPREST_INSTALL ON CACHE BOOL "Add install commands.")
2525

Release/src/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -277,12 +277,12 @@ if(CPPREST_INSTALL)
277277

278278
install(
279279
FILES "${CMAKE_CURRENT_BINARY_DIR}/cpprestsdk-config.cmake"
280-
DESTINATION ${CPPREST_EXPORT_DIR}
280+
DESTINATION ${CMAKE_INSTALL_LIBDIR}/${CPPREST_EXPORT_DIR}
281281
)
282282
install(
283283
EXPORT cpprestsdk-targets
284284
FILE cpprestsdk-targets.cmake
285285
NAMESPACE cpprestsdk::
286-
DESTINATION ${CPPREST_EXPORT_DIR}
286+
DESTINATION ${CMAKE_INSTALL_LIBDIR}/${CPPREST_EXPORT_DIR}
287287
)
288288
endif()

0 commit comments

Comments
 (0)