From cffc3da6220a0b12ddf1320117eeb2383f1474e1 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sat, 10 Apr 2021 21:34:04 -0500 Subject: [PATCH] [nostalgia/core/studio] Add Qt headers as PCHs --- src/nostalgia/core/studio/CMakeLists.txt | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/src/nostalgia/core/studio/CMakeLists.txt b/src/nostalgia/core/studio/CMakeLists.txt index 2fc5f7f2..eb4b2307 100644 --- a/src/nostalgia/core/studio/CMakeLists.txt +++ b/src/nostalgia/core/studio/CMakeLists.txt @@ -19,6 +19,39 @@ if(NOT MSVC) target_compile_options(NostalgiaCore-Studio PRIVATE -Wsign-conversion) endif() +target_precompile_headers( + NostalgiaCore-Studio PRIVATE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +) + target_link_libraries( NostalgiaCore-Studio Qt${QT_VERSION_MAJOR}::QuickWidgets