summaryrefslogtreecommitdiffstats
path: root/DartConfig.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-02-02 15:05:51 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-03 14:12:04 (GMT)
commitae89967f9dc9308003630531ef34764030f98bd0 (patch)
tree09b0ec382780a29c6341147a44cc2360be79a650 /DartConfig.cmake
parent2b0256c5ade94ca19467fd42075b3c22bd3856f2 (diff)
downloadCMake-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