summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2013-10-17 00:06:34 -0400
committercomex <comexk@gmail.com>2013-10-17 00:07:35 -0400
commitde1773affb7552d1b62b7adcd3a2a04d718feafe (patch)
treec5039730175ca9a32c64e590782878fe70adeebc /Source/Core/VideoBackends
parentcffe6ba3fdb040808654604a1b07c2edaa0d853d (diff)
Basic precompiled header support for Linux/OS X. Shaves 20-30% off full rebuild time on my system.
Diffstat (limited to 'Source/Core/VideoBackends')
-rw-r--r--Source/Core/VideoBackends/OGL/CMakeLists.txt3
-rw-r--r--Source/Core/VideoBackends/Software/CMakeLists.txt3
2 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/VideoBackends/OGL/CMakeLists.txt b/Source/Core/VideoBackends/OGL/CMakeLists.txt
index 3e1d2aaa60..f8ccb85052 100644
--- a/Source/Core/VideoBackends/OGL/CMakeLists.txt
+++ b/Source/Core/VideoBackends/OGL/CMakeLists.txt
@@ -45,5 +45,4 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR
set(LIBS ${LIBS} usbhid)
endif()
-add_library(videoogl STATIC ${SRCS})
-target_link_libraries(videoogl ${LIBS})
+add_dolphin_library(videoogl "${SRCS}" "${LIBS}")
diff --git a/Source/Core/VideoBackends/Software/CMakeLists.txt b/Source/Core/VideoBackends/Software/CMakeLists.txt
index fd13be7f2e..2ba8e6c0c7 100644
--- a/Source/Core/VideoBackends/Software/CMakeLists.txt
+++ b/Source/Core/VideoBackends/Software/CMakeLists.txt
@@ -49,5 +49,4 @@ if(NOT (${CMAKE_SYSTEM_NAME} MATCHES "Darwin"))
set(LIBS ${LIBS} clrun)
endif()
-add_library(videosoftware STATIC ${SRCS})
-target_link_libraries(videosoftware ${LIBS})
+add_dolphin_library(videosoftware "${SRCS}" "${LIBS}")