Brad King
ec807f6edf
Merge topic 'port-to-sco'
...
56539d89 SCO_SV: Enable so filename versioning
16a3a735 cmELF: Port to SCO OpenServer 5.0.7/3.2
2016-08-03 09:20:47 -04:00
Brad King
ef729c5bc2
Merge topic 'ExternalProject-no-DS_Store'
...
52aecc0c ExternalProject: Ignore macOS .DS_Store files in tarball extraction
2016-08-03 09:20:44 -04:00
Brad King
7b65e49529
Merge topic 'wix-root-description'
...
e29bfbf2 CPackWIX: Support custom title and description for the root feature
2016-08-03 09:20:38 -04:00
Brad King
8ba870bad6
Merge topic 'FindCUDA-no-windows-librt'
...
f4e979b1 FindCUDA: Do not look for librt on Windows
2016-08-03 09:20:35 -04:00
Brad King
573397bb54
Merge topic 'FindCUDA-arch'
...
15a6ae5c FindCUDA: Add search path for nvcc on Arch
2016-08-03 09:20:32 -04:00
Brad King
16e449cc72
Merge topic 'intel-gnu11-support'
...
088f14eb Intel-C: standard flags are also supported in 12.0
27a3ca15 Intel-C: support gnu89 and gnu99 extension flags
cc223e1e Intel-C: declare support for gnu11
2016-08-03 09:20:25 -04:00
Brad King
a382c3013c
Merge topic 'fix-findhdf5-definitions'
...
8eb0b56c FindHDF5: Make sure compile definition vars keep the -D flag
2016-08-03 09:20:19 -04:00
Hans Gaiser
15a6ae5cb7
FindCUDA: Add search path for nvcc on Arch
2016-08-02 15:36:07 -04:00
Ben Boeckel
088f14eb72
Intel-C: standard flags are also supported in 12.0
2016-08-02 13:10:56 -04:00
Ben Boeckel
27a3ca15e5
Intel-C: support gnu89 and gnu99 extension flags
2016-08-02 13:10:41 -04:00
Ben Boeckel
cc223e1eed
Intel-C: declare support for gnu11
...
Without extensions, functions like `strdup` are not available since they
are actually controlled by feature flags such as _SVID_SOURCE and
_BSD_SOURCE. When using `-std=c11` on Intel, none of these flags are
set, so the functions are not declared properly leading to compile
errors.
Reported-by: Adam J. Stewart <ajstewart426@gmail.com>
Closes : #16226
2016-08-02 11:42:45 -04:00
Chuck Atkins
8eb0b56c2a
FindHDF5: Make sure compile definition vars keep the -D flag
2016-08-02 10:34:51 -04:00
Brad King
52aecc0c38
ExternalProject: Ignore macOS .DS_Store files in tarball extraction
...
Do not consider a top-level `.DS_Store` file when deciding whether a
tarball contains exactly one directory whose contents should be used as
the resulting top-level of the extraction.
Fixes #16218 .
Suggested-by: Patrice Kouame
2016-08-02 10:14:26 -04:00
Patrick Welche
56539d89da
SCO_SV: Enable so filename versioning
...
Take changes used by pkgsrc [1]:
* so filename versioning requires CMAKE_SHARED_LIBRARY_SONAME_C_FLAG.
[1] http://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/devel/cmake/patches/
2016-08-02 10:09:52 -04:00
Stephen Sorley
f4e979b126
FindCUDA: Do not look for librt on Windows
...
Otherwise an incorrect warning appears when compiling with CUDA SDK 6.5
or older and CUDA_USE_STATIC_CUDA_RUNTIME is true.
2016-08-02 09:15:22 -04:00
Michael Stürmer
e29bfbf272
CPackWIX: Support custom title and description for the root feature
...
These can now be specified through the WIX generator specific
CPack variables CPACK_WIX_ROOT_FEATURE_TITLE and
CPACK_WIX_ROOT_FEATURE_DESCRIPTION.
2016-08-02 14:05:08 +02:00
Brad King
5ec03c93fc
Merge topic 'wix-disabled-components'
...
ad453f05 CPackWIX: Support CPACK_COMPONENT_<compName>_DISABLED
6f108f84 CPackComponent: Document the *_HIDDEN and *_DISABLED variables
2016-08-01 14:59:53 -04:00
Daniel Pfeifer
5d0d980d99
Use string(APPEND) in Modules
...
Automate with:
find Modules -type f -print0 | xargs -0 perl -i -0pe \
's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
2016-07-28 00:41:13 +02:00
Brad King
e09518ca50
Merge topic 'nsis-protect-uninst-exec'
...
11768733 NSIS: Quote uninstaller path when executing it in a shell
2016-07-22 09:17:19 -04:00
Nils Gladitz
6f108f84d0
CPackComponent: Document the *_HIDDEN and *_DISABLED variables
2016-07-22 08:41:22 +02:00
Brad King
40d5375cf1
Merge branch 'nsis-protect-uninst-exec' into release
2016-07-21 10:08:33 -04:00
Justin Clift
11768733d3
NSIS: Quote uninstaller path when executing it in a shell
...
Protect our `$0` reference in the shell as `"$0"`. Otherwise it works
with a space in the path only due to an insecure Windows feature.
Prior to this fix, any installer using the option added by commit
v2.8.9~234^2 (Added CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL,
2011-06-11) exposes a local privilege escalation vulnerability.
Reported-by: Amir Szekely <kichik@gmail.com>
Reported-by: Ug_0 Security
2016-07-21 10:05:46 -04:00
Eon Jeong
ab8d5d0fdb
FindBISON: Refactor public and inner macro routines
2016-07-18 09:06:36 -04:00
Eon Jeong
c42e63a97e
FindBISON: Add REPORT_FILE option to pass --report-file=FILE
2016-07-18 09:06:31 -04:00
Eon Jeong
ad2497aa05
FindBISON: Change usage of [VERBOSE <file>] to [VERBOSE [<file>]]
2016-07-18 09:06:16 -04:00
Ben Campbell
0a6c227d64
FindGIF: Detect version from GIF 4.1.6 and above
...
GIF 4.1.6 introduced version macros in the header file. Use them
to get a full version.
Fixes #16196 .
2016-07-15 09:10:59 -04:00
Brad King
c8e59d2dfa
Merge topic 'toolchain-flag-init'
...
8a98cf64 Honor CMAKE_*_LINKER_FLAGS[_<CONFIG>]_INIT set in toolchain files
37d15c39 MSVC: Set all CMAKE_*_LINKER_FLAGS_INIT directly
55c884ed Embarcadero: Set all CMAKE_*_LINKER_FLAGS_INIT directly
aec3c79a Strip CMAKE_*_LINKER_FLAGS[_<CONFIG>] initializer whitespace
2016-07-15 09:04:30 -04:00
Brad King
8a98cf6432
Honor CMAKE_*_LINKER_FLAGS[_<CONFIG>]_INIT set in toolchain files
...
Document these variables.
Change our convention for setting these variables from:
set(CMAKE_EXE_LINKER_FLAGS_INIT "...")
to
string(APPEND CMAKE_EXE_LINKER_FLAGS_INIT " ...")
so that any value previously set by a toolchain file will be used.
2016-07-14 15:47:32 -04:00
Nils Gladitz
58677c327f
FindPostgreSQL: Fix initialization of PostgreSQL_LIBRARIES
2016-07-14 18:18:26 +02:00
Brad King
4e427f4949
Merge topic 'FindOpenMP-updates'
...
73e9f36e FindOpenMP: Detect version (specification date) from compiler
8f1103c0 FindOpenMP: Cleanup all variables unconditionally
ec963f04 FindOpenMP: Improve documentation formatting
2016-07-14 09:24:14 -04:00
Brad King
6f36dce0cf
Merge topic 'ExternalData-SecurityFix'
...
9b588b2b ExternalData: Hide security-sensitive details from output
2016-07-14 09:24:05 -04:00
Brad King
2364819d37
Merge topic 'ExternalProject-alt-urls'
...
2eec433f ExternalProject: Add support for multiple alternative URLs
2016-07-14 09:23:50 -04:00
Brad King
f5c19a9dcc
Merge topic 'no-implicit-link-clang-rt'
...
35322226 CMakeParseImplicitLinkInfo: Exclude libclang_rt libraries
2016-07-14 09:23:35 -04:00
Brad King
37d15c399e
MSVC: Set all CMAKE_*_LINKER_FLAGS_INIT directly
...
Avoid copying CMAKE_EXE_LINKER_FLAGS_INIT to the others.
2016-07-13 15:05:32 -04:00
Brad King
55c884ed3b
Embarcadero: Set all CMAKE_*_LINKER_FLAGS_INIT directly
...
Avoid copying CMAKE_EXE_LINKER_FLAGS_INIT to the others.
2016-07-13 15:01:26 -04:00
Brad King
aec3c79acb
Strip CMAKE_*_LINKER_FLAGS[_<CONFIG>] initializer whitespace
2016-07-13 14:41:21 -04:00
Sujin Philip
73e9f36ea6
FindOpenMP: Detect version (specification date) from compiler
...
Port changes from VTK commit fda6a31cb9 (Added Improved FindOpenMP
module, 2015-04-23). Improve use of try_compile to avoid needing
to pass OpenMP flags as libraries.
2016-07-13 11:49:01 -04:00
Alex Turbov
9b588b2bdf
ExternalData: Hide security-sensitive details from output
...
Do not disclose credentials when printing URIs used to fetch external resources.
2016-07-13 18:41:57 +03:00
Brad King
8f1103c0fd
FindOpenMP: Cleanup all variables unconditionally
2016-07-13 11:02:01 -04:00
Brad King
ec963f04cb
FindOpenMP: Improve documentation formatting
...
Also drop link to OpenMP compilers because our supported list may
not include all compilers.
2016-07-13 10:56:46 -04:00
Lars Schmertmann
2eec433f98
ExternalProject: Add support for multiple alternative URLs
...
Now it is possible to pass multiple URLs as a list that will be tried in
and foreach(). So it will try next URL if the previous failed.
Fixes #15749 .
2016-07-13 09:44:34 -04:00
Brad King
291e41855c
Merge topic 'findicu'
...
e3bff7b3 Help: Add notes for topic 'findicu'
4a63be15 FindICU: New module
2016-07-13 09:26:55 -04:00
Brad King
7a31a2717b
Merge topic 'FindHDF5-fix-misc-issues'
...
d5e4516e FindHDF5: Cleanup inconsistent use of HDF5_ROOT
4ece8bdd FindHDF5: Properly fail when required components are not found.
87c1cd9c FindHDF5: Fix h5cc arg parsing to work with homebrew on Mac
2016-07-13 09:26:52 -04:00
Brad King
64095e36ee
Merge topic 'cpack-rpm-debug-logging-fix'
...
83799aa9 CPack/RPM: Debug logging should only print if requested for
2016-07-13 09:26:44 -04:00
Brad King
4b726a3f5c
Merge topic 'fix-cpack-rpm-different-package-names'
...
672e6d2e CPack/RPM: Add missed CPACK_RPM_FILE_NAME fallback variable
2016-07-13 09:26:40 -04:00
Harry Mallon
83799aa934
CPack/RPM: Debug logging should only print if requested for
2016-07-13 09:23:24 -04:00
Roger Leigh
4a63be15dd
FindICU: New module
2016-07-13 09:15:16 -04:00
Brad King
9c9ac043b4
Merge branch 'FindHDF5-fix-misc-issues' into release
2016-07-13 08:57:16 -04:00
Chuck Atkins
d5e4516ec2
FindHDF5: Cleanup inconsistent use of HDF5_ROOT
2016-07-12 15:32:10 -04:00
Chuck Atkins
4ece8bdd0f
FindHDF5: Properly fail when required components are not found.
2016-07-12 13:40:41 -04:00