mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-15 23:49:37 +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 |
||
---|---|---|
.. | ||
doc | ||
man | ||
modules | ||
po | ||
post_install | ||
scripts | ||
build5-2015-installer.bat | ||
build5-2015-x64.bat | ||
build5-2015.bat | ||
config.cpp.cmake | ||
config.h.cmake | ||
configCompiler.h.cmake | ||
configCompiler.h.msvc | ||
configFunctions.cmake | ||
configIncludes.cmake | ||
ConfigureChecks.cmake | ||
dmg | ||
Install.cmake | ||
lyx_commit_hash.h.cmake | ||
lyx_date.h.cmake | ||
LyX_description.txt | ||
LyX_license.txt | ||
LyX_summary.txt | ||
lyx.rc | ||
LyxPackaging.cmake | ||
mingw.bat | ||
pcheaders.h | ||
PyCompile.cmake | ||
TODO.txt |