summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-01-30 22:30:17 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-01-30 22:30:17 (GMT)
commit16e649fa0deddf415bbfd900e868092e384db8a0 (patch)
treeff4e0d85066faa94d0492a1ff2051b2a0215366c /c++
parentedb6fd0cf9170b0cd10ca47a858912022ac44c34 (diff)
downloadhdf5-16e649fa0deddf415bbfd900e868092e384db8a0.zip
hdf5-16e649fa0deddf415bbfd900e868092e384db8a0.tar.gz
hdf5-16e649fa0deddf415bbfd900e868092e384db8a0.tar.bz2
HDFFV-10398 merge from develop improve CMake code
Diffstat (limited to 'c++')
-rw-r--r--c++/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/c++/CMakeLists.txt b/c++/CMakeLists.txt
index c9c4815..adbf1a4 100644
--- a/c++/CMakeLists.txt
+++ b/c++/CMakeLists.txt
@@ -27,18 +27,18 @@ if (H5_HAVE_PARALLEL)
add_definitions ("-DMPICH_IGNORE_CXX_SEEK")
endif ()
-add_subdirectory (${HDF5_CPP_SOURCE_DIR}/src ${HDF5_CPP_BINARY_DIR}/src)
+add_subdirectory (src)
#-----------------------------------------------------------------------------
# Build the CPP Examples
#-----------------------------------------------------------------------------
if (HDF5_BUILD_EXAMPLES)
- add_subdirectory (${HDF5_CPP_SOURCE_DIR}/examples ${HDF5_CPP_BINARY_DIR}/examples)
+ add_subdirectory (examples)
endif ()
#-----------------------------------------------------------------------------
# Build the CPP unit tests
#-----------------------------------------------------------------------------
if (BUILD_TESTING)
- add_subdirectory (${HDF5_CPP_SOURCE_DIR}/test ${HDF5_CPP_BINARY_DIR}/test)
+ add_subdirectory (test)
endif ()