From 7595a79259e301ad3ab2e161bfa409ebd0d0e10f Mon Sep 17 00:00:00 2001 From: Avishay Alon Date: Tue, 27 Nov 2018 02:05:33 +0000 Subject: [PATCH] Fixing CMAKE_INSTALL_LIBDIR substitution in aws_commonConfig.cmake.in --- aws_common/aws_commonConfig.cmake.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws_common/aws_commonConfig.cmake.in b/aws_common/aws_commonConfig.cmake.in index 5f76e5f..442c224 100644 --- a/aws_common/aws_commonConfig.cmake.in +++ b/aws_common/aws_commonConfig.cmake.in @@ -10,7 +10,7 @@ if(NOT TARGET @PROJECT_NAME@) include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake") endif() -set(@PROJECT_NAME@_LIB_DIR "${AWS_COMMON_ROOT_DIR}/${CMAKE_INSTALL_LIBDIR}") +set(@PROJECT_NAME@_LIB_DIR "${AWS_COMMON_ROOT_DIR}/@CMAKE_INSTALL_LIBDIR@") set(@PROJECT_NAME@_LIBRARIES @PROJECT_NAME@ @aws_common_IMPORTED_LIBRARIES@) # Imported packages which the current package intends to export. @@ -29,4 +29,4 @@ foreach(_imported_library @aws_common_IMPORTED_LIBRARIES@) endforeach() # where the .pc pkgconfig files are installed -set(@PROJECT_NAME@_PKGCONFIG_DIR "${AWS_COMMON_ROOT_DIR}/${CMAKE_INSTALL_LIBDIR}/pkgconfig") +set(@PROJECT_NAME@_PKGCONFIG_DIR "${AWS_COMMON_ROOT_DIR}/@CMAKE_INSTALL_LIBDIR@/pkgconfig")