Commit e59d550c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use ${QT_MAJOR_VERSION} here too

parent 5cfe5ef0
......@@ -16,14 +16,14 @@ set(kdenlive_render_SRCS
add_executable(kdenlive_render ${kdenlive_render_SRCS})
ecm_mark_nongui_executable(kdenlive_render)
target_link_libraries(kdenlive_render Qt5::Core Qt5::Widgets Qt5::Xml
target_link_libraries(kdenlive_render Qt${QT_MAJOR_VERSION}::Core Qt${QT_MAJOR_VERSION}::Widgets Qt${QT_MAJOR_VERSION}::Xml
${MLT_LIBRARIES}
${MLTPP_LIBRARIES})
if(NODBUS)
target_compile_definitions(kdenlive_render PRIVATE NODBUS)
target_link_libraries(kdenlive_render Qt5::Network)
target_link_libraries(kdenlive_render Qt${QT_MAJOR_VERSION}::Network)
else()
target_link_libraries(kdenlive_render Qt5::DBus)
target_link_libraries(kdenlive_render Qt${QT_MAJOR_VERSION}::DBus)
endif()
install(TARGETS kdenlive_render DESTINATION ${BIN_INSTALL_DIR})
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment