mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
13 lines
484 B
CMake
13 lines
484 B
CMake
|
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)
|