diff options
-rw-r--r-- | examples/CMakeLists.txt | 5 |
1 files 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) |