mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 01:25:51 +00:00
14 lines
606 B
CMake
14 lines
606 B
CMake
|
add_library(WinPixEventRuntime::WinPixEventRuntime UNKNOWN IMPORTED GLOBAL)
|
||
|
|
||
|
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}/lib64/WinPixEventRuntime.lib"
|
||
|
INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/include"
|
||
|
)
|
||
|
endif()
|