summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
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/VideoCommon
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/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/CMakeLists.txt b/Source/Core/VideoCommon/CMakeLists.txt
index 8503377779..594624592c 100644
--- a/Source/Core/VideoCommon/CMakeLists.txt
+++ b/Source/Core/VideoCommon/CMakeLists.txt
@@ -61,8 +61,7 @@ if(LIBAV_FOUND OR WIN32)
set(SRCS ${SRCS} Src/AVIDump.cpp)
endif()
-add_library(videocommon STATIC ${SRCS})
-target_link_libraries(videocommon ${LIBS})
+add_dolphin_library(videocommon "${SRCS}" "${LIBS}")
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
if(LIBAV_FOUND)