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/gameinput/gameinput-config.cmake.in | |
Diffstat (limited to 'vcpkg/ports/gameinput/gameinput-config.cmake.in')
| -rw-r--r-- | vcpkg/ports/gameinput/gameinput-config.cmake.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/gameinput/gameinput-config.cmake.in b/vcpkg/ports/gameinput/gameinput-config.cmake.in new file mode 100644 index 0000000..96a0a9c --- /dev/null +++ b/vcpkg/ports/gameinput/gameinput-config.cmake.in @@ -0,0 +1,12 @@ +get_filename_component(_gameinput_root "${CMAKE_CURRENT_LIST_DIR}" PATH) +get_filename_component(_gameinput_root "${_gameinput_root}" PATH) + +set(_gameinput_root_lib "${_gameinput_root}/lib/gameinput.lib") + +add_library(Microsoft::GameInput INTERFACE IMPORTED) +set_target_properties(Microsoft::GameInput PROPERTIES + INTERFACE_LINK_LIBRARIES "${_gameinput_root_lib}" + INTERFACE_INCLUDE_DIRECTORIES "${_gameinput_root}/include") + +unset(_gameinput_root_lib) +unset(_gameinput_root) |