-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -41,7 +41,9 @@ cmake -B build -DUPA_BUILD_TESTS=OFF | |
cmake --build build | ||
cmake --install build | ||
``` | ||
If ICU is installed in a non-default directory, then specify `-DICU_ROOT=<ICU directory>` parameter in the first command. | ||
|
||
> [!NOTE] | ||
> If ICU is installed in a non-default directory, then specify `-DICU_ROOT=<ICU directory>` parameter in the first command. If you are building for Windows 10 version 1903 or later, ICU bundled with Windows can be used: specify the `-DUPA_USE_WINDOWS_ICU=ON` parameter in the first command. | ||
To use library add `find_package(upa REQUIRED)` and link to `upa::url` target in your CMake project: | ||
```cmake | ||
|
@@ -75,7 +77,7 @@ target_link_libraries(exe-target PRIVATE upa::url) | |
|
||
#### Embedding with CPM.cmake script | ||
|
||
If you are using the [CPM.cmake script](https://github.com/cpm-cmake/CPM.cmake) and have included it in your CMakeCMakeLists.txt, then: | ||
If you are using the [CPM.cmake script](https://github.com/cpm-cmake/CPM.cmake) and have included it in your `CMakeLists.txt`, then: | ||
|
||
```cmake | ||
CPMAddPackage("gh:upa-url/[email protected]") | ||
|