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/winpixevent/winpixevent-config.cmake.in | |
Diffstat (limited to 'vcpkg/ports/winpixevent/winpixevent-config.cmake.in')
| -rw-r--r-- | vcpkg/ports/winpixevent/winpixevent-config.cmake.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vcpkg/ports/winpixevent/winpixevent-config.cmake.in b/vcpkg/ports/winpixevent/winpixevent-config.cmake.in new file mode 100644 index 0000000..5e34f2d --- /dev/null +++ b/vcpkg/ports/winpixevent/winpixevent-config.cmake.in @@ -0,0 +1,11 @@ +get_filename_component(_wpix_root "${CMAKE_CURRENT_LIST_DIR}" PATH)
+get_filename_component(_wpix_root "${_wpix_root}" PATH)
+
+add_library(Microsoft::WinPixEventRuntime SHARED IMPORTED)
+set_target_properties(Microsoft::WinPixEventRuntime PROPERTIES
+ IMPORTED_LOCATION "${_wpix_root}/bin/@WINPIXEVENTRUNTIME@.dll"
+ IMPORTED_IMPLIB "${_wpix_root}/lib/@WINPIXEVENTRUNTIME@.lib"
+ INTERFACE_INCLUDE_DIRECTORIES "${_wpix_root}/include"
+ IMPORTED_LINK_INTERFACE_LANGUAGES "C")
+
+unset(_wpix_root)
|