mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 22:31:23 +01:00
Use ${LIB_SUFFIX} when setting PocoConfigPackageLocation
This commit is contained in:
parent
a84744326f
commit
48cb7ba8a3
@ -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)
|
||||
|
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user