HDFFV-10703 Update CMake commands to latest standard
This commit is contained in:
@@ -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 ()
|
||||
|
||||
Reference in New Issue
Block a user