From ba2c98d42aded8887e27f4621afbdb63eb8cedf6 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Thu, 20 Mar 2014 16:17:24 -0500 Subject: [svn-r24850] example causes modal permission dialog to popup on windows. Do not build. --- examples/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index fe8216d..38aa241 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -44,13 +44,14 @@ foreach (example ${examples}) set_target_properties (${example} PROPERTIES FOLDER examples) 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_executable (ph5example ${HDF5_EXAMPLES_SOURCE_DIR}/ph5example.c) TARGET_NAMING (ph5example ${LIB_TYPE}) TARGET_C_PROPERTIES (ph5example " " " ") target_link_libraries (ph5example ${HDF5_LIB_TARGET}) set_target_properties (ph5example PROPERTIES FOLDER examples) -endif (H5_HAVE_PARALLEL) +endif (H5_HAVE_PARALLEL AND NOT WIN32) if (BUILD_TESTING) include (CMakeTests.cmake) -- cgit v0.12