From 97255f863804a82ba8637629c51f051f1cfa9761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Wed, 27 Sep 2023 02:16:13 +0200 Subject: [PATCH] moc_included_test.cpp requires SKIP_PRECOMPILE_HEADERS ON --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9df65580085..7f3cd60b14f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1477,6 +1477,8 @@ else() endif() endif() +set_source_files_properties(src/util/moc_included_test.cpp PROPERTIES SKIP_PRECOMPILE_HEADERS ON) + set_target_properties(mixxx-lib PROPERTIES AUTOMOC ON AUTOUIC ON CXX_CLANG_TIDY "${CLANG_TIDY}") target_include_directories(mixxx-lib PUBLIC src "${CMAKE_CURRENT_BINARY_DIR}/src") if(UNIX AND NOT APPLE)