HDFFV-10703 - Update CMake variable handling

This commit is contained in:
Allen Byrne
2019-02-21 13:23:59 -06:00
parent 0c6110e586
commit b7d6f11182
45 changed files with 348 additions and 369 deletions

View File

@@ -96,7 +96,7 @@ endmacro ()
# Check a bunch of cxx functions
#-----------------------------------------------------------------------------
if (CMAKE_CXX_COMPILER_LOADED)
foreach (test
foreach (cxx_test
OLD_HEADER_FILENAME
HDF_NO_NAMESPACE
HDF_NO_STD
@@ -104,6 +104,6 @@ if (CMAKE_CXX_COMPILER_LOADED)
NO_STATIC_CAST
CXX_HAVE_OFFSETOF
)
HDF_CXX_FUNCTION_TEST (${test})
HDF_CXX_FUNCTION_TEST (${cxx_test})
endforeach ()
endif ()