lyx_mirror/development/cmake/modules
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
..
FindAiksaurusLIB.cmake Prepare cmake-build for debian multiarch implementation 2011-05-24 06:58:40 +00:00
FindASPELL.cmake Cmake build: Use find_package_handle_standard_args() consistently 2014-05-13 12:30:20 +02:00
FindCXX11Compiler.cmake Cmake build: Adapt to compile with qt5.11 2018-06-20 00:09:19 +02:00
FindEnchant.cmake Cmake build: Use find_package_handle_standard_args() consistently 2014-05-13 12:30:20 +02:00
FindGNUWIN32.cmake
FindHunspell.cmake Cmake build: Use find_package_handle_standard_args() consistently 2014-05-13 12:30:20 +02:00
FindICONV.cmake CMake: Add the same path hint for ICONV_DLL as for ICONV_DLL_HELP. Without this hint, the former could not be found while the latter could. 2011-08-19 14:04:51 +00:00
FindLyXGettext.cmake Cmake build: Refactor determination of destination paths. 2016-06-06 08:29:07 +02:00
FindMagic.cmake Cmake build: Symplify use of linking optional libraries found via find_package 2014-06-12 19:02:29 +02:00
FindMyThesLIB.cmake Cmake build: Adapt handling of mytheslib to automek behaviour 2017-03-07 14:27:08 +01:00
FindOpenSSL.cmake
FindQt4.cmake Fix CMake on Windows 2013-04-25 20:18:46 +02:00
FindZLIB.cmake Cmake build: remove warnings with newer cmake 2013-08-23 00:02:56 +02:00
LyXDestinations.cmake Cmake build: Use the same destination for lyx-tex-files as in automake 2017-07-14 11:24:20 +02:00
LyXMacros.cmake Cmake build: Allow numbers in lyx-suffix too 2017-04-30 17:01:31 +02:00
LyXPaths.cmake also build without gnuwin32 directory 2015-12-15 13:20:10 +01:00
LyXuic.cmake
MacroBoolTo01.cmake
PCHSupport_26.cmake
ProjectSourceGroup.cmake