Skip to content

Commit

Permalink
CMake: fix for missing utf8proc with unbundled build, resolves #4798 (#…
Browse files Browse the repository at this point in the history
…4816)

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

* chore(gitignore): Corrected path to Qt creator generated build files.
  • Loading branch information
matejk committed Dec 11, 2024
1 parent ca64098 commit b5873ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ config.make

# Qt Creator #
#########
build/
build/Qt_*

# CMake #
########
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 1 addition & 0 deletions Foundation/cmake/PocoFoundationConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit b5873ca

Please sign in to comment.