diff options
author | Chris Xiong <chirs241097@gmail.com> | 2023-11-26 21:29:16 -0500 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2023-11-26 21:29:16 -0500 |
commit | f7def0d883fa5cab62ef61b40b9f857245be8e6c (patch) | |
tree | d29322dd4be6e98c0740ae6df4dc70eb41614a76 /windows-extra/CMakeLists.txt | |
parent | 60989e52b3f3bc0a95d3e61bd8e59fa4d9b7ab83 (diff) | |
download | QMidiPlayer-f7def0d883fa5cab62ef61b40b9f857245be8e6c.tar.xz |
Initial Qt 6 port. Many bug fixes.
Diffstat (limited to 'windows-extra/CMakeLists.txt')
-rw-r--r-- | windows-extra/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/windows-extra/CMakeLists.txt b/windows-extra/CMakeLists.txt index 6754e46..c9b58ab 100644 --- a/windows-extra/CMakeLists.txt +++ b/windows-extra/CMakeLists.txt @@ -5,12 +5,10 @@ set(windowsextra_SOURCES include_directories(${PROJECT_SOURCE_DIR}/include/) -find_package(Qt5 REQUIRED COMPONENTS Widgets WinExtras) - add_library(windowsextra MODULE ${windowsextra_SOURCES} ) -target_link_libraries(windowsextra Qt5::Widgets Qt5::WinExtras) +target_link_libraries(windowsextra Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::WinExtras) install(TARGETS windowsextra LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/qmidiplayer/) |