aboutsummaryrefslogtreecommitdiff
path: root/visualization/renderer/CMakeLists.txt
blob: cbe918a8bfe6351c1409a518c69013a6ced2db11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
set(qmpvisrender_SOURCES
	qmpsettingsro.hpp
	qmppluginapistub.hpp
	qmpvisrendercore.hpp
	main.cpp
	qmpsettingsro.cpp
	qmppluginapistub.cpp
	qmpvisrendercore.cpp
)

set(CMAKE_AUTOMOC ON)

include_directories(${PROJECT_SOURCE_DIR}/core/)
include_directories(${PROJECT_SOURCE_DIR}/include/)

add_executable(qmpvisrender
    ${qmpvisrender_SOURCES}
)

target_link_libraries(qmpvisrender
    Qt${QT_VERSION_MAJOR}::Core
    qmpcore
    ICU::uc
    ICU::i18n
    ${CMAKE_DL_LIBS}
    ${CMAKE_THREAD_LIBS_INIT}
)

if(WIN32)
    target_link_libraries(qmpvisrender winmm)
endif()

install(TARGETS qmpvisrender)