diff options
Diffstat (limited to 'meta-oe/recipes-support/cpprest/cpprest-2.10.2/fix-cmake-install.patch')
-rw-r--r-- | meta-oe/recipes-support/cpprest/cpprest-2.10.2/fix-cmake-install.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/cpprest/cpprest-2.10.2/fix-cmake-install.patch b/meta-oe/recipes-support/cpprest/cpprest-2.10.2/fix-cmake-install.patch new file mode 100644 index 0000000000..0feafef5bf --- /dev/null +++ b/meta-oe/recipes-support/cpprest/cpprest-2.10.2/fix-cmake-install.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | Description: install cmake files into /usr/lib/cmake/cpprestsdk | ||
2 | Author: Gianfranco Costamagna <locutusofborg@debian.org> | ||
3 | Upstream-Status: https://github.com/Microsoft/cpprestsdk/pull/737 | ||
4 | Forwarded: https://github.com/Microsoft/cpprestsdk/pull/737 | ||
5 | Last-Update: 2018-04-19 | ||
6 | |||
7 | --- cpprest-2.10.2.orig/CMakeLists.txt | ||
8 | +++ cpprest-2.10.2/CMakeLists.txt | ||
9 | @@ -18,7 +18,7 @@ enable_testing() | ||
10 | set(WERROR ON CACHE BOOL "Treat Warnings as Errors.") | ||
11 | set(CPPREST_EXCLUDE_WEBSOCKETS OFF CACHE BOOL "Exclude websockets functionality.") | ||
12 | set(CPPREST_EXCLUDE_COMPRESSION OFF CACHE BOOL "Exclude compression functionality.") | ||
13 | -set(CPPREST_EXPORT_DIR lib/cpprestsdk CACHE STRING "Directory to install CMake config files.") | ||
14 | +set(CPPREST_EXPORT_DIR lib/cmake/cpprestsdk CACHE STRING "Directory to install CMake config files.") | ||
15 | set(CPPREST_INSTALL_HEADERS ON CACHE BOOL "Install header files.") | ||
16 | set(CPPREST_INSTALL ON CACHE BOOL "Add install commands.") | ||
17 | |||