aws-sdk-cpp: include dev output as header path hint
This commit is contained in:
parent
a8ba422f71
commit
f7557ec309
|
@ -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