Commit Graph

8950 Commits

Author SHA1 Message Date
Brad King 2b427c2fad Merge topic 'FindGIF-modernize'
74cc42e937 Help: Add notes for topic 'FindGIF-modernize'
6962a41e6b FindGIF: Add test
5bc64fe6c2 FindGIF: Modernize

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2632
2018-11-21 07:41:27 -05:00
Brad King 8b83d1fdff Merge topic 'find-boost-test-version'
19d92d5e6e FindBoost: provide the version in x.y.z format
186f69cf26 FindBoost: test version variables

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2638
2018-11-21 07:37:11 -05:00
Maximilian Heinzler 5bc64fe6c2 FindGIF: Modernize
This brings the module up to the current find module standards by adding
the GIF_INCLUDE_DIRS variable and the target GIF::GIF. It also updates
the documentation style to that of similar modules.
2018-11-20 21:07:03 +01:00
Ben Boeckel 19d92d5e6e FindBoost: provide the version in x.y.z format 2018-11-20 10:45:24 -05:00
Brad King e653f46677 Merge topic 'blas-pkgcfg'
a3c31effed FindBLAS: Restore BLAS_FOUND when found using pkgconfig

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2631
2018-11-20 09:26:31 -05:00
Brad King fc366d2594 Merge topic 'FindPython-lib-arch'
c24f29c664 FindPython: Ensure config tool matches library architecture

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Eric Noulard <eric.noulard@gmail.com>
Merge-request: !2624
2018-11-20 09:25:48 -05:00
Brad King 4b94f3420c Merge topic 'irsl-ucrt-version'
01c7d9ce86 IRSL: Detect versioned Windows Universal CRT directories

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2637
2018-11-20 09:25:03 -05:00
Martin von Gagern a3c31effed FindBLAS: Restore BLAS_FOUND when found using pkgconfig
Refactoring in commit v3.12.0-rc1~92^2 (FindPkgConfig: export the list
of found libraries also as variable, 2018-05-11) dropped use of FPHSA
to set `BLAS_FOUND`.  Set it explicitly instead.
2018-11-19 15:47:20 -05:00
Marc Chevrier c24f29c664 FindPython: Ensure config tool matches library architecture 2018-11-19 15:36:26 -05:00
Brad King 01c7d9ce86 IRSL: Detect versioned Windows Universal CRT directories
Windows SDK version 10.0.17763.0 now places the uCRT libraries in a
versioned directory.

Fixes: #18603
2018-11-19 13:31:40 -05:00
Brad King b7b2ce56a7 Merge topic 'findx11-imported-targets'
bced9d5e56 Tests/FindX11: add a test
a7d2ffb232 FindX11: add imported targets
40b3dba529 FindX11: require Freetype and Fontconfig for Xft
cc96249e2e FindX11: remove local variable from the advanced list
99489d9f10 FindX11: find Xext.h
b8b598061a FindX11: match variables with library names
6079a0d00f FindX11: fix some formatting in the documentation
3c54955d0d FindX11: use `list(APPEND)` for clearer code
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2604
2018-11-19 09:57:46 -05:00
Brad King b324743229 Merge topic 'cpack'
a26ac919ef Help: Explain interaction of cpack(1) and CPack.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2617
2018-11-15 13:49:58 -05:00
Joachim Wuttke (l) a26ac919ef Help: Explain interaction of cpack(1) and CPack.
In particular, make clear that package/installer generators
are not the makefile generators of the cmake command.

Also insert sections in CPack doc, and capitalize section titles.
2018-11-15 16:50:52 +01:00
Brad King 59fc717c25 Merge topic 'deprecate-findqt'
0f5c1b404b find_package(): Add policy to remove the FindQt module

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: noo mook <noomook2519@gmail.com>
Merge-request: !2554
2018-11-15 10:39:55 -05:00
Kyle Edwards 0f5c1b404b find_package(): Add policy to remove the FindQt module
Removing FindQt.cmake gives Qt upstream a path forward to export its
own QtConfig.cmake files which can be found by find_package()
without having to explicitly specify CONFIG. Projects that still
want to use Qt3/4 can call find_package(Qt[34]), include(FindQt),
or add FindQt.cmake to their CMAKE_MODULE_PATH.
2018-11-14 15:05:06 -05:00
Brad King 117272412e Merge topic 'GNUInstallDirs-FreeBSD-info'
f835f189ae GNUInstallDirs: Update FreeBSD "info" destination to share/info
4c0d97dd98 GNUInstallDirs: Split "info" and "man" default logic
1b8f0ca515 Tests: Split GNUInstallDirs expectations for FreeBSD

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Rolf Eike Beer <eike@sf-mail.de>
Merge-request: !2588
2018-11-14 08:59:19 -05:00
Tobias C. Berner f835f189ae GNUInstallDirs: Update FreeBSD "info" destination to share/info
FreeBSD ports commit r484628 (Install texinfo files (GNU info) into
${PREFIX}/share/info, 2018-11-10) changed the "info" destination
from "info" to "share/info".  The commit included a patch to their
distribution of CMake to fix the `GNUInstallDirs` module too.
Apply a similar logic change to our upstream version of the module.

We already made a similar change for GNU/kFreeBSD in commit
v3.13.0-rc2~8^2 (GNUInstallDirs: Don't use BSD info and man paths on
GNU/kFreeBSD, 2018-10-21).

Fixes: #18585
2018-11-13 13:35:50 -05:00
Brad King 4c0d97dd98 GNUInstallDirs: Split "info" and "man" default logic
The conditions may soon differ.
2018-11-13 13:35:35 -05:00
Brad King 9fee704227 Merge topic 'SelectLibraryConfigurations'
fe15a1029c Help: Revise documentation of SelectLibraryConfigurations

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2608
2018-11-13 10:46:54 -05:00
Brad King 06ef9edd51 Merge topic 'DeployQt4'
3a7f02197b Help: Downcase function names in DeployQt4 doc.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2600
2018-11-13 10:41:20 -05:00
Brad King bd04db899f Merge topic 'WriteCompilerDetectionHeader'
0470ee96b1 Help: Remove duplication of function name.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2605
2018-11-13 10:40:38 -05:00
Brad King 9bb203ed0f Merge topic 'FindBoost-1.69'
5045cd82d0 FindBoost: Additional fixes for 1.69

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2601
2018-11-13 10:38:54 -05:00
Roger Leigh 5045cd82d0 FindBoost: Additional fixes for 1.69 2018-11-13 10:37:01 -05:00
Ben Boeckel a7d2ffb232 FindX11: add imported targets
These imported targets are fine-grained and recommended over the global
`X11_LIBRARIES` and `X11_INCLUDE_DIR` variables.
2018-11-13 10:22:00 -05:00
Joachim Wuttke (l) fe15a1029c Help: Revise documentation of SelectLibraryConfigurations
List format for chosen variables.

New paragraph before description of special cases.
2018-11-13 12:12:52 +01:00
Brad King 518b0cf3b6 Merge topic 'BundleUtilities'
96c31fad71 Help: Downcase functions in BundleUtilities

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2599
2018-11-12 16:36:01 -05:00
Brad King 68c86a20ce Merge topic 'FindPackageMessage'
89b5f4fcc7 Help: Correct macro -> function in FindPackageMessage.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2598
2018-11-12 16:34:24 -05:00
Joachim Wuttke (l) 0470ee96b1 Help: Remove duplication of function name. 2018-11-12 22:33:11 +01:00
Brad King a39d6f6bc3 Merge topic 'CheckPrototypeDefinition'
f05d7ed5ff Help: correct macro -> function in CheckPrototypeDefinition

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2591
2018-11-12 16:33:10 -05:00
Brad King f370254652 Merge topic 'DocumentationVTK'
36e9d2d124 Help: remove reference to inexistent file DocumentationVTK.cmake.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2597
2018-11-12 16:31:53 -05:00
Brad King 4884954413 Merge topic 'CMakeAddFortranSubdirectory'
b93b3b5500 Help: better summary and xrefs for CMakeAddFortranSubdirectory

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2592
2018-11-12 16:31:03 -05:00
Brad King 45fb82483c Merge topic 'CMakePrintHelpers'
1c94129e98 Help: correct macro -> function in CMakePrintHelpers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2596
2018-11-12 16:29:56 -05:00
Brad King 72d54f1c53 Merge topic 'CPack-sections'
e286627334 Help: Insert section headers in CPack module

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2593
2018-11-12 16:26:11 -05:00
Ben Boeckel 40b3dba529 FindX11: require Freetype and Fontconfig for Xft
The Xft header includes headers from freetype and fontconfig, so they
are necessary for its use.
2018-11-12 16:10:14 -05:00
Ben Boeckel cc96249e2e FindX11: remove local variable from the advanced list 2018-11-12 16:10:14 -05:00
Ben Boeckel 99489d9f10 FindX11: find Xext.h 2018-11-12 16:10:13 -05:00
Ben Boeckel b8b598061a FindX11: match variables with library names
This deprecates various variables, but provides them for backwards
compatibility.
2018-11-12 16:09:36 -05:00
Craig Scott ddb967cca1 Merge topic 'pie-link-options'
c4b4d8b3a6 POSITION_INDEPENDENT_CODE: Manage link flags for executables
724a0346f7 POSITION_INDEPENDENT_CODE: Fix erroneous '-fPIE' flag for Sun Studio
023188ffb4 INTERFACE_POSITION_INDEPENDENT_CODE: add generator expressions support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2465
2018-11-12 15:43:07 -05:00
Ben Boeckel 6079a0d00f FindX11: fix some formatting in the documentation 2018-11-12 14:42:56 -05:00
Joachim Wuttke (o) 3a7f02197b Help: Downcase function names in DeployQt4 doc. 2018-11-12 19:51:43 +01:00
Ben Boeckel 3c54955d0d FindX11: use list(APPEND) for clearer code 2018-11-12 13:30:07 -05:00
Ben Boeckel 1217ff4138 FindX11: use lowercase function names 2018-11-12 11:50:52 -05:00
Joachim Wuttke (o) 96c31fad71 Help: Downcase functions in BundleUtilities
Presumably, capitalization was left over from very old times
2018-11-12 15:49:31 +01:00
Joachim Wuttke (o) f05d7ed5ff Help: correct macro -> function in CheckPrototypeDefinition
Correct in text, and downcase function name in function statement.
2018-11-12 15:41:09 +01:00
Joachim Wuttke (l) 89b5f4fcc7 Help: Correct macro -> function in FindPackageMessage.
Correct in the text, and change capitalization accordingly.
2018-11-12 15:34:41 +01:00
Joachim Wuttke (h) e286627334 Help: Insert section headers in CPack module
The one extant section header was confusing at least:
Not all the doc page is on Variables.
2018-11-12 09:18:02 -05:00
Joachim Wuttke (l) 36e9d2d124 Help: remove reference to inexistent file DocumentationVTK.cmake. 2018-11-12 14:27:41 +01:00
Brad King a16b24c9ce Merge topic 'FindODBC-mingw-avoid-hardcoded-odbc32'
4e4551f9f3 FindODBC: Do not assume odbc32.lib for MinGW

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2585
2018-11-12 08:19:32 -05:00
Brad King a63a9363b2 Merge topic 'FindICU-link-dl'
1320122d3f FindICU: Add libdl to the link libraries for icu-uc

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Francois Budin <francois.budin@kitware.com>
Merge-request: !2581
2018-11-12 08:18:47 -05:00
Brad King baf8af10a7 Merge topic 'asm-compiler-id-clang'
c84fb4812d ASM: Detect compiler id for Clang used as Assembler

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2584
2018-11-12 08:16:28 -05:00