lyx_mirror/development/cmake
Kornel Benko 889d10cda3 Cmake build: Adapt to compile with qt5.11
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 d6b21e20e2)
(cherry picked from commit 72a2f92239)
(cherry picked from commit 6343452a73)
(cherry picked from commit cb08d4a879)
(cherry picked from commit 1bf4d7b0fc)
2018-06-20 00:09:19 +02:00
..
doc cmake documentation handling: sort out encoding problems. 2017-10-21 22:25:59 +02:00
man
modules Cmake build: Adapt to compile with qt5.11 2018-06-20 00:09:19 +02:00
po unix2dos.py: make it ready for python 3 2017-12-09 00:24:20 +01:00
post_install
scripts Sort images file list also for cmake 2017-06-27 19:18:24 +02:00
build5-2015-installer.bat build5*.bat: update to Qt 5.9.4 2018-01-24 01:19:19 +01:00
build5-2015-x64.bat build5*.bat: update to Qt 5.9.4 2018-01-24 01:19:19 +01:00
build5-2015.bat build5*.bat: update to Qt 5.9.4 2018-01-24 01:19:19 +01:00
config.cpp.cmake
config.h.cmake Add support for enchant 2.x 2018-03-19 17:33:17 +01:00
configCompiler.h.cmake Support new hunspell C++ ABI if LyX is built against hunspell >= 1.5 2018-04-14 10:35:59 +02:00
configCompiler.h.msvc Remove boost/format support 2016-05-29 17:55:45 -04:00
configFunctions.cmake
configIncludes.cmake
ConfigureChecks.cmake Merge branch '2.3.2-staging' into 2.3.x 2018-04-14 23:52:31 -04:00
dmg
Install.cmake Add suffixed lyxconvert to cmake build. 2017-10-03 22:09:57 +02:00
lyx_commit_hash.h.cmake Cmake build: Moved creation of variable LYX_GIT_COMMIT_HASH to development/cmake/scripts/LyXGetVersion.cmake. 2014-10-24 16:58:54 +02:00
lyx_date.h.cmake
LyX_description.txt Cmake package: Correct description. 2016-09-23 13:39:23 +02:00
LyX_license.txt
LyX_summary.txt
lyx.rc
LyxPackaging.cmake Cmake build: Needed variable for creation of debian package 2017-10-08 08:30:16 +02:00
mingw.bat Require a C++11 compiler 2016-06-07 20:34:52 +02:00
pcheaders.h Replace Boost.Signals with Boost.Signals2 2016-06-09 22:25:34 +02:00
PyCompile.cmake
TODO.txt Make "devel mode" configurable at run time 2017-07-24 22:00:44 +02:00