aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/simonbrunel-qtpromise/unofficial-config.cmake.in
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/simonbrunel-qtpromise/unofficial-config.cmake.in
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/simonbrunel-qtpromise/unofficial-config.cmake.in')
-rw-r--r--vcpkg/ports/simonbrunel-qtpromise/unofficial-config.cmake.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/simonbrunel-qtpromise/unofficial-config.cmake.in b/vcpkg/ports/simonbrunel-qtpromise/unofficial-config.cmake.in
new file mode 100644
index 0000000..2458704
--- /dev/null
+++ b/vcpkg/ports/simonbrunel-qtpromise/unofficial-config.cmake.in
@@ -0,0 +1,19 @@
+
+set(@PORT@_VERSION "@VERSION@")
+
+if(TARGET unofficial-@PORT@)
+ set(unofficial-@PORT@_FOUND TRUE)
+ return()
+endif()
+
+include(CMakeFindDependencyMacro)
+
+find_dependency(Qt@USE_QT_VERSION@ REQUIRED COMPONENTS Core)
+
+add_library(unofficial-@PORT@ INTERFACE)
+
+target_link_libraries(unofficial-@PORT@ INTERFACE Qt::Core)
+target_include_directories(unofficial-@PORT@ INTERFACE "${CMAKE_CURRENT_LIST_DIR}/../../include/@PORT@/include")
+
+set(unofficial-@PORT@_FOUND TRUE)
+