CMake: fix for missing utf8proc with unbundled build, resolves #4798 (#4816)

* fix(cmake): Add missing install and find dependency for utf8proc in unbundled build.

* chore(gitignore): Corrected path to Qt creator generated build files.
This commit is contained in:
Matej Kenda 2024-12-11 16:18:04 +01:00 committed by GitHub
parent e2576ff5ab
commit b380b57d5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

2
.gitignore vendored
View File

@ -48,7 +48,7 @@ config.make
# Qt Creator #
#########
build/
build/Qt_*
# CMake #
########

View File

@ -557,8 +557,8 @@ install(
)
if(POCO_UNBUNDLED)
install(FILES cmake/FindPCRE2.cmake
DESTINATION "${PocoConfigPackageLocation}")
install(FILES cmake/FindPCRE2.cmake DESTINATION "${PocoConfigPackageLocation}")
install(FILES cmake/FindUtf8Proc.cmake DESTINATION "${PocoConfigPackageLocation}")
endif()
message(STATUS "CMake ${CMAKE_VERSION} successfully configured ${PROJECT_NAME} using ${CMAKE_GENERATOR} generator")

View File

@ -3,6 +3,7 @@ if(@POCO_UNBUNDLED@)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
find_dependency(ZLIB REQUIRED)
find_dependency(PCRE2 REQUIRED)
find_dependency(Utf8Proc REQUIRED)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/PocoFoundationTargets.cmake")