fix POCO_UNBUNDLES

This commit is contained in:
Günter Obiltschnig 2020-02-05 06:41:10 +01:00
parent 383e3ee6ad
commit 6ef3f95baf

View File

@ -437,6 +437,15 @@ write_basic_package_version_file(
COMPATIBILITY AnyNewerVersion
)
# Set config script install location in a location that find_package() will
# look for, which is different on MS Windows than for UNIX
# Note: also set in POCO_GENERATE_PACKAGE macro in cmake/PocoMacros.cmake
if (WIN32)
set(PocoConfigPackageLocation "cmake")
else()
set(PocoConfigPackageLocation "lib/cmake/${PROJECT_NAME}")
endif()
configure_file(cmake/${PROJECT_NAME}Config.cmake.in "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/${PROJECT_NAME}Config.cmake" @ONLY)
install(
FILES