Skip to content

Commit

Permalink
!fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer authored Jan 20, 2025
1 parent dd691fa commit 1c6580e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

cmake_minimum_required(VERSION 3.21)

message(STATUS "CMAKE_VERSION: ${CMAKE_VERSION}")
Expand Down Expand Up @@ -3056,14 +3057,11 @@ else()
DESTINATION "${MIXXX_INSTALL_DATADIR}/platforms"
COMPONENT applocal)
if(QT_VERSION VERSION_LESS 6.7)
target_link_libraries(mixxx-lib PRIVATE
install(IMPORTED_RUNTIME_ARTIFACTS Qt${QT_VERSION_MAJOR}::QWindowsVistaStylePlugin
install(IMPORTED_RUNTIME_ARTIFACTS Qt${QT_VERSION_MAJOR}::QWindowsVistaStylePlugin
DESTINATION "${MIXXX_INSTALL_DATADIR}/styles"
COMPONENT applocal)
)
else()
target_link_libraries(mixxx-lib PRIVATE
install(IMPORTED_RUNTIME_ARTIFACTS Qt${QT_VERSION_MAJOR}::QModernWindowsStylePlugin
install(IMPORTED_RUNTIME_ARTIFACTS Qt${QT_VERSION_MAJOR}::QModernWindowsStylePlugin
DESTINATION "${MIXXX_INSTALL_DATADIR}/styles"
COMPONENT applocal)
endif()
Expand Down

0 comments on commit 1c6580e

Please sign in to comment.