2024-04-20 10:26:53 +00:00
|
|
|
add_library(WinPixEventRuntime::WinPixEventRuntime SHARED IMPORTED GLOBAL)
|
2023-09-02 03:38:26 +00:00
|
|
|
|
|
|
|
if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "arm64")
|
|
|
|
set_target_properties(WinPixEventRuntime::WinPixEventRuntime PROPERTIES
|
2024-04-20 10:26:53 +00:00
|
|
|
IMPORTED_LOCATION "${CMAKE_CURRENT_SOURCE_DIR}/binarm64/WinPixEventRuntime.dll"
|
|
|
|
IMPORTED_IMPLIB "${CMAKE_CURRENT_SOURCE_DIR}/libarm64/WinPixEventRuntime.lib"
|
2023-09-02 03:38:26 +00:00
|
|
|
INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/include"
|
|
|
|
)
|
|
|
|
else()
|
|
|
|
set_target_properties(WinPixEventRuntime::WinPixEventRuntime PROPERTIES
|
2024-04-20 10:26:53 +00:00
|
|
|
IMPORTED_LOCATION "${CMAKE_CURRENT_SOURCE_DIR}/bin64/WinPixEventRuntime.dll"
|
|
|
|
IMPORTED_IMPLIB "${CMAKE_CURRENT_SOURCE_DIR}/lib64/WinPixEventRuntime.lib"
|
2023-09-02 03:38:26 +00:00
|
|
|
INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/include"
|
|
|
|
)
|
|
|
|
endif()
|