Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Fixing CMAKE_INSTALL_LIBDIR substitution in aws_commonConfig.cmake.in
Browse files Browse the repository at this point in the history
  • Loading branch information
AAlon committed Nov 27, 2018
1 parent d2a2927 commit 7595a79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws_common/aws_commonConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if(NOT TARGET @PROJECT_NAME@)
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
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.
Expand All @@ -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")

0 comments on commit 7595a79

Please sign in to comment.