From 8e237a054ce5a573beb166bc39e44f85f215abcb Mon Sep 17 00:00:00 2001 From: sowle Date: Tue, 26 Aug 2025 21:51:49 +0300 Subject: [PATCH] tests: PCH fixed for db_size_test --- tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index fb38a979..bfa36b71 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -67,4 +67,5 @@ if(MSVC AND USE_PCH) set_property(SOURCE "core_tests/chaingen_pch.cpp" APPEND_STRING PROPERTY COMPILE_FLAGS " /Ycchaingen.h /Zm1000") set_property(TARGET coretests functional_tests hash-target-tests performance_tests unit_tests APPEND_STRING PROPERTY LINK_FLAGS "$(MSBuildProjectDirectory)/../src/$(ConfigurationName)/stdafx.obj") set_property(TARGET db_tests APPEND_STRING PROPERTY LINK_FLAGS "$(MSBuildProjectDirectory)/../../src/$(ConfigurationName)/stdafx.obj") + set_property(TARGET db_size_test APPEND_STRING PROPERTY LINK_FLAGS "$(MSBuildProjectDirectory)/../../src/$(ConfigurationName)/stdafx.obj") endif()