mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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 |
||
---|---|---|
.. | ||
attic | ||
autotests | ||
checksigs | ||
checkurls | ||
CI | ||
cmake | ||
coding | ||
cygwin | ||
HTML | ||
keystest | ||
lyxserver | ||
MacOSX | ||
mathmacros | ||
tools | ||
Win32 | ||
.gitignore | ||
coverity_modeling.cpp | ||
expectedTestFailures | ||
FORMAT | ||
gcc_4.6.patchset | ||
LyX-Mac-binary-release.sh | ||
lyx.package.README | ||
lyx.rpm.README | ||
lyx.spec.in | ||
Makefile.am | ||
PAINTING_ANALYSIS | ||
TestsToDo |