summaryrefslogtreecommitdiffstats
path: root/examples/CMakeTests.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2014-03-20 21:18:30 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2014-03-20 21:18:30 (GMT)
commitda23edd24eba6433baeafec5ef8f4fa1c59a8307 (patch)
treefce4d3b29bbe86a3195948953cdbf43f5d4bfcf1 /examples/CMakeTests.cmake
parentba2c98d42aded8887e27f4621afbdb63eb8cedf6 (diff)
downloadhdf5-da23edd24eba6433baeafec5ef8f4fa1c59a8307.zip
hdf5-da23edd24eba6433baeafec5ef8f4fa1c59a8307.tar.gz
hdf5-da23edd24eba6433baeafec5ef8f4fa1c59a8307.tar.bz2
[svn-r24851] example causes modal permission dialog to popup on windows. build but do not execute.
Diffstat (limited to 'examples/CMakeTests.cmake')
-rw-r--r--examples/CMakeTests.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/CMakeTests.cmake b/examples/CMakeTests.cmake
index 2a20fd8..5a756c8 100644
--- a/examples/CMakeTests.cmake
+++ b/examples/CMakeTests.cmake
@@ -56,10 +56,11 @@
set (last_test "EXAMPLES-${example}")
endforeach (example ${examples})
- if (H5_HAVE_PARALLEL)
+### Windows pops up a modal permission dialog on this test
+ if (H5_HAVE_PARALLEL AND NOT WIN32)
add_test (NAME EXAMPLES-ph5example COMMAND $<TARGET_FILE:ph5example>)
if (NOT "${last_test}" STREQUAL "")
set_tests_properties (EXAMPLES-ph5example PROPERTIES DEPENDS ${last_test})
endif (NOT "${last_test}" STREQUAL "")
set (last_test "EXAMPLES-ph5example")
- endif (H5_HAVE_PARALLEL)
+ endif (H5_HAVE_PARALLEL AND NOT WIN32)