From a3c53ff7546e4cffa057aaae246a8ea1c3d8107e Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 2 Apr 2018 08:22:37 -0400 Subject: [PATCH] OGL/CMakeLists: Migrate off add_dolphin_library Continues the migration work started in 3a4c3bbe01e7a44ec997f4fbf0b678fba6f2d46c --- Source/Core/VideoBackends/OGL/CMakeLists.txt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Source/Core/VideoBackends/OGL/CMakeLists.txt b/Source/Core/VideoBackends/OGL/CMakeLists.txt index 5ecc1a4fb2..70aa29cef4 100644 --- a/Source/Core/VideoBackends/OGL/CMakeLists.txt +++ b/Source/Core/VideoBackends/OGL/CMakeLists.txt @@ -1,4 +1,4 @@ -set(SRCS +add_library(videoogl BoundingBox.cpp FramebufferManager.cpp main.cpp @@ -18,11 +18,12 @@ set(SRCS VertexManager.cpp ) -set(LIBS ${LIBS} - videocommon - SOIL +target_link_libraries(videoogl +PUBLIC common + videocommon + +PRIVATE + SOIL ${X11_LIBRARIES} ) - -add_dolphin_library(videoogl "${SRCS}" "${LIBS}")