From 386781dd5a531500e23da577d9f4a1f3e1638d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Thu, 5 Oct 2023 00:24:49 +0200 Subject: [PATCH] Remove "ugly hack" including generated files from a different library --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 99736e4ed7b..9fcfe11b0fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1689,9 +1689,7 @@ if(QT6) else() add_executable(mixxx WIN32 src/main.cpp) endif() -# ugly hack to get #include "preferences/dialog/ui_dlgpreferencesdlg.h" to work in -# src/qmldlgpreferencesproxy.h, which is #included from src/qmlapplication.h. -target_include_directories(mixxx PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/mixxx-lib_autogen/include") + set_target_properties(mixxx-lib PROPERTIES CXX_CLANG_TIDY "${CLANG_TIDY}") target_link_libraries(mixxx PRIVATE mixxx-lib mixxx-gitinfostore)