diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/wintoast/Config.cmake.in | |
Diffstat (limited to 'vcpkg/ports/wintoast/Config.cmake.in')
| -rw-r--r-- | vcpkg/ports/wintoast/Config.cmake.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/vcpkg/ports/wintoast/Config.cmake.in b/vcpkg/ports/wintoast/Config.cmake.in new file mode 100644 index 0000000..575d76b --- /dev/null +++ b/vcpkg/ports/wintoast/Config.cmake.in @@ -0,0 +1,19 @@ +if(NOT TARGET unofficial::wintoast::wintoast)
+ add_library(unofficial::wintoast::wintoast UNKNOWN IMPORTED)
+
+ set_target_properties(unofficial::wintoast::wintoast PROPERTIES
+ INTERFACE_INCLUDE_DIRECTORIES "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include"
+ )
+
+ find_library(WinToast_LIBRARY_RELEASE NAMES WinToast PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/lib" NO_DEFAULT_PATH)
+ if(EXISTS "${WinToast_LIBRARY_RELEASE}")
+ set_property(TARGET unofficial::wintoast::wintoast APPEND PROPERTY IMPORTED_CONFIGURATIONS "Release")
+ set_target_properties(unofficial::wintoast::wintoast PROPERTIES IMPORTED_LOCATION_RELEASE "${WinToast_LIBRARY_RELEASE}")
+ endif()
+
+ find_library(WinToast_LIBRARY_DEBUG NAMES WinToast PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug/lib" NO_DEFAULT_PATH)
+ if(EXISTS "${WinToast_LIBRARY_DEBUG}")
+ set_property(TARGET unofficial::wintoast::wintoast APPEND PROPERTY IMPORTED_CONFIGURATIONS "Debug")
+ set_target_properties(unofficial::wintoast::wintoast PROPERTIES IMPORTED_LOCATION_DEBUG "${WinToast_LIBRARY_DEBUG}")
+ endif()
+endif()
\ No newline at end of file |