diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-01-11 20:17:21 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-01-11 20:17:21 (GMT) |
commit | 7fb991e8edd9cef200f4769bbd22e7eff2b9e27f (patch) | |
tree | 30e2c4cf094281daacdf9a3896f01235642264c3 /config/cmake_ext_mod/ConfigureChecks.cmake | |
parent | 244faaa0d048e7e06fb5aec8d4f661f1893c3030 (diff) | |
download | hdf5-7fb991e8edd9cef200f4769bbd22e7eff2b9e27f.zip hdf5-7fb991e8edd9cef200f4769bbd22e7eff2b9e27f.tar.gz hdf5-7fb991e8edd9cef200f4769bbd22e7eff2b9e27f.tar.bz2 |
CMake command cleanup
Diffstat (limited to 'config/cmake_ext_mod/ConfigureChecks.cmake')
-rw-r--r-- | config/cmake_ext_mod/ConfigureChecks.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/cmake_ext_mod/ConfigureChecks.cmake b/config/cmake_ext_mod/ConfigureChecks.cmake index f30dd96..1872cd5 100644 --- a/config/cmake_ext_mod/ConfigureChecks.cmake +++ b/config/cmake_ext_mod/ConfigureChecks.cmake @@ -11,9 +11,9 @@ include (${CMAKE_ROOT}/Modules/CheckTypeSize.cmake) include (${CMAKE_ROOT}/Modules/CheckVariableExists.cmake) include (${CMAKE_ROOT}/Modules/CheckFortranFunctionExists.cmake) include (${CMAKE_ROOT}/Modules/TestBigEndian.cmake) -if(CMAKE_CXX_COMPILER_LOADED) +if (CMAKE_CXX_COMPILER AND CMAKE_CXX_COMPILER_LOADED) include (${CMAKE_ROOT}/Modules/TestForSTDNamespace.cmake) -endif() +endif () #----------------------------------------------------------------------------- # APPLE/Darwin setup @@ -307,7 +307,7 @@ if (NOT WINDOWS) "Test TEST_LFS_WORKS Run failed with the following output and exit code:\n ${OUTPUT}\n" ) endif () - else ( ) + else () set (TEST_LFS_WORKS "" CACHE INTERNAL ${msg}) message (STATUS "${msg}... no") file (APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log |