Use ${LIB_SUFFIX} when setting PocoConfigPackageLocation

This commit is contained in:
Scott Talbert 2020-02-06 15:17:57 -05:00
parent a84744326f
commit 48cb7ba8a3
2 changed files with 2 additions and 2 deletions

View File

@ -443,7 +443,7 @@ write_basic_package_version_file(
if (WIN32)
set(PocoConfigPackageLocation "cmake")
else()
set(PocoConfigPackageLocation "lib/cmake/${PROJECT_NAME}")
set(PocoConfigPackageLocation "lib${LIB_SUFFIX}/cmake/${PROJECT_NAME}")
endif()
configure_file(cmake/${PROJECT_NAME}Config.cmake.in "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/${PROJECT_NAME}Config.cmake" @ONLY)

View File

@ -239,7 +239,7 @@ configure_file("cmake/Poco${target_name}Config.cmake"
if (WIN32)
set(PocoConfigPackageLocation "cmake")
else()
set(PocoConfigPackageLocation "lib/cmake/${PROJECT_NAME}")
set(PocoConfigPackageLocation "lib${LIB_SUFFIX}/cmake/${PROJECT_NAME}")
endif()
install(