Merge pull request #182918 from jonringer/fix-aws-sdk-cpp-find
This commit is contained in:
commit
5867d146dc
|
@ -38,6 +38,14 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
postPatch = ''
|
||||
# Append the dev output to path hints in finding Aws.h to avoid
|
||||
# having to pass `AWS_CORE_HEADER_FILE` explicitly to cmake configure
|
||||
# when using find_package(AWSSDK CONFIG)
|
||||
substituteInPlace cmake/AWSSDKConfig.cmake \
|
||||
--replace 'C:/AWSSDK/''${AWSSDK_INSTALL_INCLUDEDIR}/aws/core' \
|
||||
'C:/AWSSDK/''${AWSSDK_INSTALL_INCLUDEDIR}/aws/core"
|
||||
"${placeholder "dev"}/include/aws/core'
|
||||
|
||||
# Avoid blanket -Werror to evade build failures on less
|
||||
# tested compilers.
|
||||
substituteInPlace cmake/compiler_settings.cmake \
|
||||
|
|
Loading…
Reference in a new issue