aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/utf8proc/unofficial-utf8proc-config.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/utf8proc/unofficial-utf8proc-config.cmake')
-rw-r--r--vcpkg/ports/utf8proc/unofficial-utf8proc-config.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/vcpkg/ports/utf8proc/unofficial-utf8proc-config.cmake b/vcpkg/ports/utf8proc/unofficial-utf8proc-config.cmake
new file mode 100644
index 0000000..be4541f
--- /dev/null
+++ b/vcpkg/ports/utf8proc/unofficial-utf8proc-config.cmake
@@ -0,0 +1,11 @@
+message(WARNING "find_package(unofficial-utf8proc) is deprecated.
+utf8proc provides CMake targets:
+
+ find_package(utf8proc)
+ target_link_libraries(main PRIVATE utf8proc::utf8proc)
+")
+include(CMakeFindDependencyMacro)
+find_dependency(utf8proc CONFIG)
+if(NOT TARGET utf8proc)
+ add_library(utf8proc ALIAS utf8proc::utf8proc)
+endif()