mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-03 02:32:04 +08:00
87b3e7c821
Fixes #3780
20 lines
539 B
CMake
20 lines
539 B
CMake
cmake_minimum_required (VERSION 3.18)
|
|
project (HDF5_TOOLS C)
|
|
|
|
add_subdirectory (lib)
|
|
|
|
#-- Add the test sources
|
|
add_subdirectory (src)
|
|
|
|
#-- Add the tests
|
|
if (NOT HDF5_EXTERNALLY_CONFIGURED AND BUILD_TESTING)
|
|
add_subdirectory (test)
|
|
|
|
# --------------------------------------------------------------------
|
|
# If S3 or HDFS enabled, then we need to test the tools library
|
|
# --------------------------------------------------------------------
|
|
if (HDF5_ENABLE_ROS3_VFD OR HDF5_ENABLE_HDFS)
|
|
add_subdirectory (libtest)
|
|
endif ()
|
|
endif ()
|