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

include_directories(${PROJECT_SOURCE_DIR}/include/)

add_library(windowsextra MODULE
    ${windowsextra_SOURCES}
)

target_link_libraries(windowsextra Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::WinExtras)

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