aboutsummaryrefslogtreecommitdiff
path: root/windows-extra/CMakeLists.txt
blob: 6754e46eb0c28c61a5e3ed86f71dcba7691cc71d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
set(windowsextra_SOURCES
    windowsextra.hpp
    windowsextra.cpp
)

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)

install(TARGETS windowsextra LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/qmidiplayer/)