From 3ae2e0d4283e6c65e23ed79be8adc7c9c71cc8d1 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Sat, 17 Sep 2022 23:18:22 +0200 Subject: [PATCH] Don't need to compile llviewerprecompiledheaders.cpp anymore - CMake will now take care of the precompiled headers --- indra/newview/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 4960db3dc3..6b1ee82055 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1816,9 +1816,11 @@ if (WINDOWS) # the .pch file. # All sources added to viewer_SOURCE_FILES # at this point use it. - if(USE_PRECOMPILED_HEADERS) - set(viewer_SOURCE_FILES "${viewer_SOURCE_FILES}" llviewerprecompiledheaders.cpp) - endif(USE_PRECOMPILED_HEADERS) + # Don't need this anymore - CMake will add a forced include to each translation unit now... + #if(USE_PRECOMPILED_HEADERS) + # set(viewer_SOURCE_FILES "${viewer_SOURCE_FILES}" llviewerprecompiledheaders.cpp) + #endif(USE_PRECOMPILED_HEADERS) + # # Replace the icons with the appropriate ones for the channel # ('test' is the default)