summary refs log tree commit diff
path: root/pkgs/development/libraries/aws-sdk-cpp/s3-encryption-headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/aws-sdk-cpp/s3-encryption-headers.patch')
-rw-r--r--pkgs/development/libraries/aws-sdk-cpp/s3-encryption-headers.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/libraries/aws-sdk-cpp/s3-encryption-headers.patch b/pkgs/development/libraries/aws-sdk-cpp/s3-encryption-headers.patch
new file mode 100644
index 00000000000..10e427a1509
--- /dev/null
+++ b/pkgs/development/libraries/aws-sdk-cpp/s3-encryption-headers.patch
@@ -0,0 +1,18 @@
+diff --git a/aws-cpp-sdk-s3-encryption/CMakeLists.txt b/aws-cpp-sdk-s3-encryption/CMakeLists.txt
+index 0a1a907..cf9ce0e 100644
+--- a/aws-cpp-sdk-s3-encryption/CMakeLists.txt
++++ b/aws-cpp-sdk-s3-encryption/CMakeLists.txt
+@@ -69,9 +69,9 @@ target_link_libraries(${PROJECT_NAME} ${PROJECT_LIBS})
+ 
+ setup_install()
+ 
+-install (FILES ${S3ENCRYPTION_HEADERS} DESTINATION include/aws/s3-encryption)
+-install (FILES ${S3ENCRYPTION_MATERIALS_HEADERS} DESTINATION include/aws/s3-encryption/materials)
+-install (FILES ${S3ENCRYPTION_HANDLERS_HEADERS} DESTINATION include/aws/s3-encryption/handlers)
+-install (FILES ${S3ENCRYPTION_MODULES_HEADERS} DESTINATION include/aws/s3-encryption/modules)
++install (FILES ${S3ENCRYPTION_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/s3-encryption)
++install (FILES ${S3ENCRYPTION_MATERIALS_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/s3-encryption/materials)
++install (FILES ${S3ENCRYPTION_HANDLERS_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/s3-encryption/handlers)
++install (FILES ${S3ENCRYPTION_MODULES_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/s3-encryption/modules)
+ 
+ do_packaging()