summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-02-21 19:23:59 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-02-21 19:23:59 (GMT)
commitb7d6f11182f148c0d0fff8d077d7fa342080d98c (patch)
tree0aa0ffedde62d58bb836993809394d58268a9727 /c++
parent0c6110e586985aa6d2356b739179130c5d79e9c1 (diff)
downloadhdf5-b7d6f11182f148c0d0fff8d077d7fa342080d98c.zip
hdf5-b7d6f11182f148c0d0fff8d077d7fa342080d98c.tar.gz
hdf5-b7d6f11182f148c0d0fff8d077d7fa342080d98c.tar.bz2
HDFFV-10703 - Update CMake variable handling
Diffstat (limited to 'c++')
-rw-r--r--c++/examples/CMakeTests.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/c++/examples/CMakeTests.cmake b/c++/examples/CMakeTests.cmake
index bd1f95b..58bdb68 100644
--- a/c++/examples/CMakeTests.cmake
+++ b/c++/examples/CMakeTests.cmake
@@ -26,7 +26,7 @@
SDSextendible.h5
Select.h5
)
- if (NOT "${last_test}" STREQUAL "")
+ if (last_test)
set_tests_properties (CPP_ex-clear-objects PROPERTIES DEPENDS ${last_test})
endif ()
set (last_test "CPP_ex-clear-objects")
@@ -46,7 +46,7 @@
-P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
)
endif ()
- if (NOT "${last_test}" STREQUAL "")
+ if (last_test)
set_tests_properties (CPP_ex_${example} PROPERTIES DEPENDS ${last_test})
endif ()
set (last_test "CPP_ex_${example}")
@@ -66,7 +66,7 @@
h5tutr_groups.h5
h5tutr_subset.h5
)
- if (NOT "${last_test}" STREQUAL "")
+ if (last_test)
set_tests_properties (CPP_ex_tutr-clear-objects PROPERTIES DEPENDS ${last_test})
endif ()
set (last_test "CPP_ex_tutr-clear-objects")
@@ -86,7 +86,7 @@
-P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
)
endif ()
- if (NOT "${last_test}" STREQUAL "")
+ if (last_test)
set_tests_properties (CPP_ex_${example} PROPERTIES DEPENDS ${last_test})
endif ()
set (last_test "CPP_ex_${example}")