diff options
| author | comex <comexk@gmail.com> | 2013-10-17 00:06:34 -0400 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2013-10-17 00:07:35 -0400 |
| commit | de1773affb7552d1b62b7adcd3a2a04d718feafe (patch) | |
| tree | c5039730175ca9a32c64e590782878fe70adeebc /Source/Core/VideoBackends | |
| parent | cffe6ba3fdb040808654604a1b07c2edaa0d853d (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.txt | 3 | ||||
| -rw-r--r-- | Source/Core/VideoBackends/Software/CMakeLists.txt | 3 |
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}") |
