diff --git a/Source/Core/VideoBackends/D3D/CMakeLists.txt b/Source/Core/VideoBackends/D3D/CMakeLists.txt index 1e3af890fb..88f8d67e30 100644 --- a/Source/Core/VideoBackends/D3D/CMakeLists.txt +++ b/Source/Core/VideoBackends/D3D/CMakeLists.txt @@ -1,4 +1,4 @@ -set(SRCS +add_library(videod3d BoundingBox.cpp BoundingBox.h D3DBase.cpp @@ -42,10 +42,11 @@ set(SRCS VideoBackend.h ) -set(LIBS - videocommon - SOIL +target_link_libraries(videod3d +PUBLIC common -) + videocommon -add_dolphin_library(videod3d "${SRCS}" "${LIBS}") +PRIVATE + SOIL +)