0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00
obs-studio/shared/obs-d3d8-api/CMakeLists.txt
PatTheMav 5bbb5e08c9 libobs: Add shared interface libraries to shared project directory
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).
2024-08-20 16:00:21 -04:00

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}")