2023-08-24 02:38:51 +00:00
|
|
|
add_library(WinPixEventRuntime::WinPixEventRuntime UNKNOWN IMPORTED GLOBAL)
|
2024-03-21 09:55:17 +00:00
|
|
|
|
|
|
|
if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "arm64")
|
|
|
|
set_target_properties(WinPixEventRuntime::WinPixEventRuntime PROPERTIES
|
|
|
|
IMPORTED_LOCATION "${CMAKE_CURRENT_SOURCE_DIR}/libarm64/WinPixEventRuntime.lib"
|
|
|
|
INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/include"
|
|
|
|
)
|
|
|
|
else()
|
|
|
|
set_target_properties(WinPixEventRuntime::WinPixEventRuntime PROPERTIES
|
|
|
|
IMPORTED_LOCATION "${CMAKE_CURRENT_SOURCE_DIR}/lib/WinPixEventRuntime.lib"
|
|
|
|
INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/include"
|
|
|
|
)
|
|
|
|
endif()
|