CMake: Consolidate common PCH headers

This commit is contained in:
ameerj 2022-11-29 23:22:03 -05:00
parent 3c39c0ac3e
commit 5b5612c1cc
14 changed files with 29 additions and 84 deletions

View file

@ -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
@ -187,5 +188,4 @@ endif()
if (YUZU_USE_PRECOMPILED_HEADERS)
target_precompile_headers(common PRIVATE precompiled_headers.h)
set(CMAKE_PCH_INSTANTIATE_TEMPLATES ON)
endif()