Skip to content

Commit

Permalink
Remove "ugly hack" including generated files from a different library
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Oct 4, 2023
1 parent f7f3f4f commit 386781d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Expand Up @@ -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)

Expand Down

0 comments on commit 386781d

Please sign in to comment.