diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-08-17 16:18:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-17 16:18:24 (GMT) |
commit | 7703990202cf226b132a5aac9020a33d6fc0405d (patch) | |
tree | 5099d756d45baa15900969274c18471c0c037b0b /config/cmake/scripts/HDF5options.cmake | |
parent | f9b6967afaf5b89177ec8ee610723aa714dfb27e (diff) | |
download | hdf5-7703990202cf226b132a5aac9020a33d6fc0405d.zip hdf5-7703990202cf226b132a5aac9020a33d6fc0405d.tar.gz hdf5-7703990202cf226b132a5aac9020a33d6fc0405d.tar.bz2 |
Correct target name for szaec lib - merge #2000 (#2002)
Diffstat (limited to 'config/cmake/scripts/HDF5options.cmake')
-rw-r--r-- | config/cmake/scripts/HDF5options.cmake | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/config/cmake/scripts/HDF5options.cmake b/config/cmake/scripts/HDF5options.cmake index 09d877b..b14d07d 100644 --- a/config/cmake/scripts/HDF5options.cmake +++ b/config/cmake/scripts/HDF5options.cmake @@ -21,10 +21,15 @@ #set (MAX_PROC_COUNT 8) ############################################################################################# -#### alternate toolsets #### +#### alternate toolsets (Windows usually) #### #set (CMAKE_GENERATOR_TOOLSET "Intel C++ Compiler 17.0") ############################################################################################# +### use a toolchain file (supported everywhere) #### + +#set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_TOOLCHAIN_FILE:STRING=config/toolchain/intel.cmake") + +############################################################################################# #### Only build static libraries #### #set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DBUILD_SHARED_LIBS:BOOL=OFF") #### Only build shared libraries #### @@ -98,8 +103,3 @@ endif() set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF5_PACKAGE_EXTLIBS:BOOL=ON") ############################################################################################# -### use a toolchain file - -#set (ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DCMAKE_TOOLCHAIN_FILE:STRING=config/toolchain/intel.cmake") - -############################################################################################# |