mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-18 20:17:36 +00:00
889d10cda3
Since qt5_use_modules() is removed from QT5 (as spotted by Jürgen Spitzmüller), we had to create own version of this macro. According to this page: http://doc.qt.io/qt-5/cmake-manual.html the way to replace use of qt5_use_modules() for module "_mod" and target "_target" is to use 1.) cmake_minimum_required(VERSION 3.1.0) 2.) find_package(Qt5${_mod} CONFIG REQUIRED) 3.) target_link_libraries(${_target} Qt5::${_mod}) The last one sets all reguired libraries, compile flags and needed includes for the ${_target} Disable possible warn about not known policy Extend Clang compiler detection to cover Apple CLang (cherry picked from commit |
||
---|---|---|
.. | ||
FindAiksaurusLIB.cmake | ||
FindASPELL.cmake | ||
FindCXX11Compiler.cmake | ||
FindEnchant.cmake | ||
FindGNUWIN32.cmake | ||
FindHunspell.cmake | ||
FindICONV.cmake | ||
FindLyXGettext.cmake | ||
FindMagic.cmake | ||
FindMyThesLIB.cmake | ||
FindOpenSSL.cmake | ||
FindQt4.cmake | ||
FindZLIB.cmake | ||
LyXDestinations.cmake | ||
LyXMacros.cmake | ||
LyXPaths.cmake | ||
LyXuic.cmake | ||
MacroBoolTo01.cmake | ||
PCHSupport_26.cmake | ||
ProjectSourceGroup.cmake |