summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* FindLibinput: Use _COMPILE_OPTIONS instead of _DEFINITIONSFrederik Gladhorn2018-10-161-3/+3
| | | | The value may contain flags.
* Merge topic 'FindPkgConfig-operator-docs'Brad King2018-10-151-6/+9
|\ | | | | | | | | | | | | | | 7f2bc70c5e FindPkgConfig: Document support for > and < operators Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Rolf Eike Beer <eike@sf-mail.de> Merge-request: !2481
| * FindPkgConfig: Document support for > and < operatorsCraig Scott2018-10-151-6/+9
| | | | | | | | | | This was left out of commit v3.13.0-rc1~14^2 (FindPkgConfig: support also > and < operators for version compares, 2018-10-02).
* | Merge topic 'find_libinput'Brad King2018-10-121-0/+83
|\ \ | | | | | | | | | | | | | | | | | | f76047f34a FindLibinput: Add module to find libinput Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2420
| * | FindLibinput: Add module to find libinputFrederik Gladhorn2018-10-111-0/+83
| | | | | | | | | | | | This module is inspired by one from KDE's KWin.
* | | Merge topic 'FindPython-updates'Brad King2018-10-122-2/+77
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e23c41ba78 FindPython*: Add missing registry paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2476
| * | | FindPython*: Add missing registry pathsMarc Chevrier2018-10-112-2/+77
| | | | | | | | | | | | | | | | Fixes: #18443
* | | | Merge topic 'FindBoost-mt-release'Brad King2018-10-121-0/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 9c75922745 FindBoost: Search for -mt variant of release libs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2475
| * | | FindBoost: Search for -mt variant of release libsMario Bielert2018-10-111-0/+1
| |/ / | | | | | | | | | | | | We were searching the `-mt` variant for debug libs only. It makes sense for release libs too.
* | | Merge topic 'cmake_policy-get_warning'Brad King2018-10-113-133/+126
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0d988f98e5 cmake_policy: Add undocumented GET_WARNING command f9f96598df Help: Convert FindOpenGL documentation to block comment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2472
| * | | cmake_policy: Add undocumented GET_WARNING commandKyle Edwards2018-10-103-14/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This command is intended for modules that issue policy warnings so they can get the warning string from CMake in a uniform manner, rather than duplicating the string. Several modules been updated to include an example of the usage of this new command.
| * | | Help: Convert FindOpenGL documentation to block commentKyle Edwards2018-10-101-119/+120
| | | |
* | | | Merge topic 'FindwxWidgets-optional'Brad King2018-10-111-9/+37
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 045b0beae1 FindwxWidgets: implement detailed components status on Windows 0813581859 FindwxWidgets: honor OPTIONAL_COMPONENTS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2447
| * | | FindwxWidgets: implement detailed components status on WindowsTomasz Słodkowicz2018-10-101-0/+10
| | | |
| * | | FindwxWidgets: honor OPTIONAL_COMPONENTSTomasz Słodkowicz2018-10-041-9/+27
| | | |
* | | | Merge topic 'module-index-restructure'Craig Scott2018-10-102-6/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dc372f6eef Help: Document Use_wxWindows.cmake as deprecated 846e3d2ceb Help: Reorganise module index into sections c9cedd675b Help: Add link to cmake-qt(7) to FindQt.cmake. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2463
| * | | | Help: Document Use_wxWindows.cmake as deprecatedCraig Scott2018-10-091-1/+2
| | | | | | | | | | | | | | | | | | | | The implementation already logged a message saying that the module was deprecated. This change adds that message to the module docs.
| * | | | Help: Add link to cmake-qt(7) to FindQt.cmake.Joachim Wuttke (l)2018-10-091-5/+5
| | | | |
* | | | | Merge topic 'FindBISON-fix-verbose-file'Brad King2018-10-091-7/+14
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | c64797fa94 FindBISON: Fix "multiple rules generate" error on VERBOSE output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2467
| * | | | FindBISON: Fix "multiple rules generate" error on VERBOSE outputBrad King2018-10-091-7/+14
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `BISON_TARGET` is called with both VERBOSE <extra-file> REPORT_FILE <file> we add a custom command to copy `<file>` to `<extra-file>`. The change in commit v3.7.1~10^2 (FindBISON: Do not rebuild every time when not VERBOSE, 2016-11-14) incorrectly listed the extra file as an output of the main bison invocation custom command, but it is actually produced by the separate copy command. Fix the logic to always generate `<file>` as an output of the bison command and `<extra-file>` as an output of the copy command. Fixes: #18433
* | | | Merge topic 'mkl_ilp64'Brad King2018-10-092-21/+37
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d0fb3e6c52 Find{BLAS,LAPACK}: Find also ILP64 MKL BLAS and LAPACK Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2444
| * | | | Find{BLAS,LAPACK}: Find also ILP64 MKL BLAS and LAPACKJakub Benda2018-10-082-21/+37
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modern Intel MKL packages offer 64-bit BLAS and LAPACK libraries in any of the eight combinations of the following three binary options: - sequential or threaded - LP64 or ILP64 - static or shared The modules FindBLAS and FindLAPACK did not allow full selection of arbitrary combination; in particular, only LP64 variant was used. The original list of possible BLA_VENDOR values related to MKL, Intel10_64lp Intel10_64lp_seq is thus extended by another pair of "vendors", Intel10_64ilp Intel10_64ilp_seq Depending on the selection, either "_lp64", or "_ilp64" MKL libraries are searched for. Some comments in the two CMake modules were modified to indicate that even though the "vendors" contain the number "10", they also apply to all further versions of MKL.
* | | | Merge topic 'UseSWIG-php-regression'Brad King2018-10-081-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ecd0fec40b UseSWIG: fix regression for PHP language Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2448
| * | | | UseSWIG: fix regression for PHP languageMarc Chevrier2018-10-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit v3.12.0-rc1~481^2 (UseSWIG: modernize module, 2018-01-29) accidentally regressed support for PHP. Fix it. Fixes: #18421
| * | | | Merge branch 'FindDoxygen-CMP0057' into release-3.12Brad King2018-09-111-0/+5
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !2373
* | \ \ \ \ Merge topic 'autogen-moc-predef-cross-compile'Brad King2018-10-082-0/+9
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 66f49d1f9a Android: Add clang --target= flag to compiler predefines command 39534c58c5 Autogen: Add clang --target= flag to compiler predefines command Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: André Klitzing <aklitzing@gmail.com> Merge-request: !2452
| * | | | | Android: Add clang --target= flag to compiler predefines commandBrad King2018-10-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we set `CMAKE_<LANG>_COMPILER_TARGET` to the Android target architecture, add it to `CMAKE_<LANG>_COMPILER_PREDEFINES_COMMAND` also. This is needed to make moc predefines aware of `__ANDROID__`. Fixes: #18425
| * | | | | Autogen: Add clang --target= flag to compiler predefines commandBrad King2018-10-051-0/+8
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Respect the compiler target value `CMAKE_<LANG>_COMPILER_TARGET` in `CMAKE_<LANG>_COMPILER_PREDEFINES_COMMAND`. Issue: #18425
* | | | | Merge topic 'pkgc-op-lt-gt'Brad King2018-10-041-1/+3
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | aa51bfd74f FindPkgConfig: support also > and < operators for version compares Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2435
| * | | | FindPkgConfig: support also > and < operators for version comparesRolf Eike Beer2018-10-041-1/+3
| |/ / / | | | | | | | | | | | | Fixes: #18416
* | | | Merge topic 'misc-typos'Brad King2018-10-043-6/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6b4c5a0365 Fix misc. typos Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2440
| * | | | Fix misc. typosluz.paz2018-10-033-6/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found via `codespell -q 3 -I ../cmake-whitelist.txt --skip="./Utilities"` where the whitelist consists of ``` aci ans behaviour buil convertor dum earch ect emmited emmitted helpfull iff isnt ith lowercased mose nd nknown nto objext ot pathes pevents splitted substract superceded supercedes te tim todays uint upto whitespaces ```
* | | | Platform/GNU: Add Debian shared library permissions policySvante Signell2018-10-031-0/+27
|/ / / | | | | | | | | | | | | | | | Copy the `CMAKE_INSTALL_SO_NO_EXE` setting from `Platform/Linux`. Fixes: #18376
* | | Merge topic 'java-documentation-update'Brad King2018-10-032-33/+59
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d23264b50 FindJava: Update module documentation 047bf93748 FindJNI: Update module documentation b6104f87cc FindJNI: Add Ubuntu 18.04 path to java-11-openjdk Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2436
| * | | FindJava: Update module documentationBartosz Kosiorek2018-10-031-10/+15
| | | |
| * | | FindJNI: Update module documentationBartosz Kosiorek2018-10-031-23/+43
| | | |
| * | | FindJNI: Add Ubuntu 18.04 path to java-11-openjdkBartosz Kosiorek2018-10-031-0/+1
| | | |
* | | | FindPython*: fix erroneous handling of virtual environmentsMarc Chevrier2018-10-024-11/+33
|/ / / | | | | | | | | | fixes: #18408
* | | Merge topic 'asm-path-from-c'Brad King2018-09-271-4/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7ab5843c26 ASM: Search for full path even when using C or C++ compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2418
| * | | ASM: Search for full path even when using C or C++ compilerRaul Laasner2018-09-261-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `CMAKE_{C,CXX}_COMPILER` is set but `CMAKE_ASM*_COMPILER` is not, we copy the C or C++ compiler to use as the ASM compiler. In this case we still need to search for the ASM compiler in case the C or C++ compiler is not known as an absolute path. Also do not copy the compiler id setting and let the normal detection take place. The C compiler id may not exist if the language has not been enabled. Fixes: #18406
* | | | Merge topic 'FindMatlab-2018b'Brad King2018-09-271-0/+78
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 62709beff8 FindMatlab: Add Matlab 2018a,b to version list 9a56ed3438 FindMatlab: Explicitly export mexFunction in MSVC 6c57f6b347 FindMatlab: Optionally allow linking to MatlabEngine and MatlabDataArray Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Raffi Enficiaud <raffi.enficiaud@free.fr> Merge-request: !2407
| * | | FindMatlab: Add Matlab 2018a,b to version listSean Warren2018-09-261-0/+2
| | | |
| * | | FindMatlab: Explicitly export mexFunction in MSVCSean Warren2018-09-261-0/+14
| | | | | | | | | | | | | | | | Fixes: #18391
| * | | FindMatlab: Optionally allow linking to MatlabEngine and MatlabDataArraySean Warren2018-09-261-0/+62
| | | | | | | | | | | | | | | | Fixes: #17971
* | | | Merge topic 'FindLua-names-per-dir'Brad King2018-09-261-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 98dfdab19c FindLua: Search for all library names in each path Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Rolf Eike Beer <eike@sf-mail.de> Merge-request: !2412
| * | | | FindLua: Search for all library names in each pathBrad King2018-09-251-0/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the `NAMES_PER_DIR` option to our `find_library` call so that all names are considered in each path as we proceed through the search. This allows locally-built unversioned libraries to be found before versioned system libraries if they appear earlier in the set of paths to be searched. Suggested-by: Alan W. Irwin <irwin@beluga.phys.uvic.ca>
* | | | Merge topic 'FindGLUT-windows-debug'Brad King2018-09-261-9/+33
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0da645d452 FindGLUT: Find debug/release variants on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2398
| * | | | FindGLUT: Find debug/release variants on WindowsKohányi Róbert2018-09-251-9/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Separate find_library calls to find Release and Debug libs. * Using select_library_configurations to properly populate required variables (similar to FindZLIB). * Setting Release and Debug specific properties (IMPORTED_CONFIGURATIONS_<CONFIG> and IMPORTED_LOCATION_<CONFIG>). * Falling back to setting just IMPORTED_LOCATION if GLUT_glut_LIBRARY_RELEASE or GLUT_glut_LIBRARY_DEBUG are not defined. This enables proper linking on Windows. Fixes: #17037
* | | | | Merge topic 'dbgsym-packaging'Brad King2018-09-261-7/+99
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d8a3939aef CPack/Deb: Add ability to split out debug symbols into .ddeb package 42fbff45e4 CPack/Deb: Use CMAKE_COMMAND to set the environment 66ab24a4c5 Help: Fix typo Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2399
| * | | | CPack/Deb: Add ability to split out debug symbols into .ddeb packageAndrew Fuller2018-09-211-4/+96
| | | | |