diff --git a/3rdparty/winpixeventruntime/CMakeLists.txt b/3rdparty/winpixeventruntime/CMakeLists.txt new file mode 100644 index 0000000000..785f83370c --- /dev/null +++ b/3rdparty/winpixeventruntime/CMakeLists.txt @@ -0,0 +1,5 @@ +add_library(WinPixEventRuntime::WinPixEventRuntime UNKNOWN IMPORTED GLOBAL) +set_target_properties(WinPixEventRuntime::WinPixEventRuntime PROPERTIES + IMPORTED_LOCATION "${CMAKE_CURRENT_SOURCE_DIR}/lib/WinPixEventRuntime.lib" + INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/include" +) diff --git a/cmake/SearchForStuff.cmake b/cmake/SearchForStuff.cmake index 986a68bc1a..b9d1dee61d 100644 --- a/cmake/SearchForStuff.cmake +++ b/cmake/SearchForStuff.cmake @@ -11,6 +11,7 @@ if (WIN32) add_subdirectory(3rdparty/libjpeg EXCLUDE_FROM_ALL) add_subdirectory(3rdparty/xz EXCLUDE_FROM_ALL) add_subdirectory(3rdparty/D3D12MemAlloc EXCLUDE_FROM_ALL) + add_subdirectory(3rdparty/winpixeventruntime EXCLUDE_FROM_ALL) set(FFMPEG_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/3rdparty/ffmpeg/include") find_package(Vtune)