diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2022-12-03 20:10:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-03 20:10:06 +0100 |
commit | 75e16547f8977e8b2b07723b04bcc3cbe999d566 (patch) | |
tree | 7a7795d68f636d1a3f4972c3ea36c1d50db564c5 /src/common/CMakeLists.txt | |
parent | Merge pull request #9289 from liamwhite/fruit-company (diff) | |
parent | CMake: Consolidate common PCH headers (diff) | |
download | yuzu-75e16547f8977e8b2b07723b04bcc3cbe999d566.tar yuzu-75e16547f8977e8b2b07723b04bcc3cbe999d566.tar.gz yuzu-75e16547f8977e8b2b07723b04bcc3cbe999d566.tar.bz2 yuzu-75e16547f8977e8b2b07723b04bcc3cbe999d566.tar.lz yuzu-75e16547f8977e8b2b07723b04bcc3cbe999d566.tar.xz yuzu-75e16547f8977e8b2b07723b04bcc3cbe999d566.tar.zst yuzu-75e16547f8977e8b2b07723b04bcc3cbe999d566.zip |
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r-- | src/common/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index b7c15c191..a12edc584 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -37,6 +37,7 @@ add_library(common STATIC cache_management.cpp cache_management.h common_funcs.h + common_precompiled_headers.h common_types.h concepts.h div_ceil.h @@ -95,6 +96,7 @@ add_library(common STATIC param_package.h parent_of_member.h point.h + precompiled_headers.h quaternion.h reader_writer_queue.h ring_buffer.h @@ -183,3 +185,7 @@ else() target_link_libraries(common PRIVATE $<IF:$<TARGET_EXISTS:zstd::libzstd_shared>,zstd::libzstd_shared,zstd::libzstd_static>) endif() + +if (YUZU_USE_PRECOMPILED_HEADERS) + target_precompile_headers(common PRIVATE precompiled_headers.h) +endif() |