diff options
author | Brad King <brad.king@kitware.com> | 2017-02-02 15:05:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-03 14:12:04 (GMT) |
commit | ae89967f9dc9308003630531ef34764030f98bd0 (patch) | |
tree | 09b0ec382780a29c6341147a44cc2360be79a650 /DartConfig.cmake | |
parent | 2b0256c5ade94ca19467fd42075b3c22bd3856f2 (diff) | |
download | CMake-ae89967f9dc9308003630531ef34764030f98bd0.zip CMake-ae89967f9dc9308003630531ef34764030f98bd0.tar.gz CMake-ae89967f9dc9308003630531ef34764030f98bd0.tar.bz2 |
FindHDF5: Fix command-line parsing argument extraction order
Re-implement our internal `_HDF5_parse_compile_line` helper to process
command line arguments all at once and in order. Otherwise the
libraries named by absolute path and those named by `-l` arguments are
not kept in order.
The new implementation will not handle separate arguments like
`-I /path/to/include/dir` but I have not seen the HDF5 compiler
wrappers produce this form. If necessary the parsing loop can
be extended with a state variable to keep track of such pairs.
Diffstat (limited to 'DartConfig.cmake')
0 files changed, 0 insertions, 0 deletions