-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[libunibreak] Update to 5.0 #24469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[libunibreak] Update to 5.0 #24469
Changes from 4 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
6d7f99d
Updated libunibreak and added config.cmake file
bold84 69f62ec
Updated version
bold84 1cb4fa1
Updated the manifest file
bold84 c07aedb
updated git-tree
bold84 443bd0f
Remove vcpkg-cmake-config dependency
14b1781
updated version
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # For old projects where the minimum CMake version is lower than 3.3. | ||
| cmake_policy(SET CMP0057 NEW) | ||
| include(CMakeFindDependencyMacro) | ||
|
|
||
| if(TARGET libunibreak) | ||
| return() | ||
| endif() | ||
|
|
||
| add_library(unibreak INTERFACE IMPORTED GLOBAL) | ||
| add_library(libunibreak::libunibreak ALIAS unibreak) | ||
|
|
||
| find_library(LIBUNIBREAK_LIBRARY_DEBUG NAMES unibreak PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug" PATH_SUFFIXES lib NO_DEFAULT_PATH) | ||
| if(LIBUNIBREAK_LIBRARY_DEBUG) | ||
| target_link_libraries(unibreak INTERFACE $<$<CONFIG:DEBUG>:${LIBUNIBREAK_LIBRARY_DEBUG}>) | ||
| endif() | ||
|
|
||
| find_library(LIBUNIBREAK_LIBRARY_RELEASE NAMES unibreak PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}" PATH_SUFFIXES lib NO_DEFAULT_PATH) | ||
| target_link_libraries(unibreak INTERFACE $<$<NOT:$<CONFIG:DEBUG>>:${LIBUNIBREAK_LIBRARY_RELEASE}>) | ||
|
|
||
| set(LIBUNIBREAK_LIBRARY libunibreak::libunibreak PARENT_SCOPE) | ||
| set(LIBUNIBREAK_LIBRARIES libunibreak::libunibreak PARENT_SCOPE) | ||
| set(LIBUNIBREAK_INCLUDE_DIR "${_INSTALL_DIR}/include" PARENT_SCOPE) | ||
|
|
||
| target_include_directories(unibreak INTERFACE ${_INSTALL_DIR}/include) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,17 @@ | ||
| { | ||
| "name": "libunibreak", | ||
| "version-string": "4.3", | ||
| "port-version": 1, | ||
| "version": "5.0", | ||
| "description": "an implementation of the line breaking and word breaking algorithms as described in [Unicode Standard Annex 14] 1 and [Unicode Standard Annex 29] 2. Check the project's [home page] 3 for up-to-date information.", | ||
| "homepage": "https://github.com/adah1972/libunibreak" | ||
| "homepage": "https://github.com/adah1972/libunibreak", | ||
| "license": "zlib-acknowledgement", | ||
| "dependencies": [ | ||
| { | ||
| "name": "vcpkg-cmake", | ||
| "host": true | ||
| }, | ||
| { | ||
| "name": "vcpkg-cmake-config", | ||
| "host": true | ||
| } | ||
| ] | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.