From ef10d4b636c0f41270e6018123b997fa55eddec0 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Tue, 3 Oct 2023 01:15:12 +0300 Subject: [PATCH] CMakeLists.txt - removed pch support --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 93c9667b..51e88986 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -297,12 +297,6 @@ if(CMAKE_GENERATOR MATCHES "Visual Studio") source_group(TREE ${CMAKE_SOURCE_DIR}/src PREFIX sources FILES ${SPDLOG_SRCS}) source_group(sources FILES ${VERSION_RC}) endif() - -if(COMMAND target_precompile_headers AND SPDLOG_ENABLE_PCH) - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/pch.h.in ${PROJECT_BINARY_DIR}/spdlog_pch.h @ONLY) - target_precompile_headers(spdlog PRIVATE ${PROJECT_BINARY_DIR}/spdlog_pch.h) -endif() - # --------------------------------------------------------------------------------------- # Use {fmt} lib package if using external fmt # ---------------------------------------------------------------------------------------