mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
5bbb5e08c9
The ComPtr, WinHandle, and obfuscate source files are shared with multiple sub-projects and thus need to be moved into the shared directory to uncouple their availability from libobs itself. The same applies to d3d8-api, inject-library, and hook-config (from win-capture), as well as comutils (from the virtualcam-module).
7 lines
261 B
CMake
7 lines
261 B
CMake
cmake_minimum_required(VERSION 3.22...3.25)
|
|
|
|
add_library(d3d8-api INTERFACE)
|
|
add_library(OBS::d3d8-api ALIAS d3d8-api)
|
|
target_sources(d3d8-api INTERFACE d3d8.h d3d8caps.h d3d8types.h)
|
|
target_include_directories(d3d8-api INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")
|