diff -Nru a/src/CMakeLists.txt b/src/CMakeLists.txt --- a/src/CMakeLists.txt 2015-08-23 07:59:38.000000000 +0200 +++ b/src/CMakeLists.txt 2018-06-02 22:12:36.612296370 +0200 @@ -49,7 +49,7 @@ qt5_add_translation(QM_FILES ${QM_SOURCES}) add_executable(eyesight ${SOURCES} ${UI_FILES} ${QRC_FILES} ${QM_FILES}) -qt5_use_modules(eyesight PrintSupport) +target_link_libraries(eyesight Qt5::PrintSupport) install(TARGETS eyesight DESTINATION ${CMAKE_INSTALL_BINDIR}) install(FILES ${QM_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR}/eyesight/translations)