summaryrefslogtreecommitdiffstats
path: root/config/cmake_ext_mod/HDFUseCXX.cmake
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2021-05-28 15:48:51 (GMT)
committerGitHub <noreply@github.com>2021-05-28 15:48:51 (GMT)
commitf86004dbde46d4aff365cc7d0a5c503ff60d3416 (patch)
tree44f69fe2bdba7e91ef1aec46f8c19e8adaee6389 /config/cmake_ext_mod/HDFUseCXX.cmake
parent2ddf5fbd92ebdb0d59e208d88f159eec8a1ffbf8 (diff)
downloadhdf5-f86004dbde46d4aff365cc7d0a5c503ff60d3416.zip
hdf5-f86004dbde46d4aff365cc7d0a5c503ff60d3416.tar.gz
hdf5-f86004dbde46d4aff365cc7d0a5c503ff60d3416.tar.bz2
Normalization with develop (#704)
Diffstat (limited to 'config/cmake_ext_mod/HDFUseCXX.cmake')
-rw-r--r--config/cmake_ext_mod/HDFUseCXX.cmake11
1 files changed, 0 insertions, 11 deletions
diff --git a/config/cmake_ext_mod/HDFUseCXX.cmake b/config/cmake_ext_mod/HDFUseCXX.cmake
index 580c409..423f74a 100644
--- a/config/cmake_ext_mod/HDFUseCXX.cmake
+++ b/config/cmake_ext_mod/HDFUseCXX.cmake
@@ -32,17 +32,6 @@ endif ()
include (CheckIncludeFileCXX)
include (TestForSTDNamespace)
-# IF the c compiler found stdint, check the C++ as well. On some systems this
-# file will be found by C but not C++, only do this test IF the C++ compiler
-# has been initialized (e.g. the project also includes some c++)
-if (${HDF_PREFIX}_HAVE_STDINT_H AND CMAKE_CXX_COMPILER_LOADED)
- CHECK_INCLUDE_FILE_CXX ("stdint.h" ${HDF_PREFIX}_HAVE_STDINT_H_CXX)
- if (NOT ${HDF_PREFIX}_HAVE_STDINT_H_CXX)
- set (${HDF_PREFIX}_HAVE_STDINT_H "" CACHE INTERNAL "Have includes HAVE_STDINT_H")
- set (USE_INCLUDES ${USE_INCLUDES} "stdint.h")
- endif ()
-endif ()
-
# For other CXX specific tests, use this MACRO.
macro (HDF_CXX_FUNCTION_TEST OTHER_TEST)
if (NOT DEFINED ${OTHER_TEST})