summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-04-04 15:41:15 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-04-04 15:41:15 (GMT)
commit12616e370c006764602a1c4f77136851f9397ca1 (patch)
tree0c23b3b4aee2cbecac64b84a4db2d33979aaa7a8
parenta259cbdda792c4167a082d10d8b9496ab19a8993 (diff)
downloadhdf5-12616e370c006764602a1c4f77136851f9397ca1.zip
hdf5-12616e370c006764602a1c4f77136851f9397ca1.tar.gz
hdf5-12616e370c006764602a1c4f77136851f9397ca1.tar.bz2
[svn-r23547] Windows plugins will always be "dll"'s.
CMake also uses ";" as a separator - escape it Tested: windows
-rw-r--r--src/H5PL.c2
-rw-r--r--test/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/H5PL.c b/src/H5PL.c
index 35925e1..ef470b7 100644
--- a/src/H5PL.c
+++ b/src/H5PL.c
@@ -456,7 +456,7 @@ H5PL__find(H5PL_type_t plugin_type, int type_id, char *dir, void **info)
FUNC_ENTER_STATIC
/* Specify a file mask. *.* = We want everything! */
- sprintf(service, "%s\/*.*", dir);
+ sprintf(service, "%s\/*.dll", dir);
if((hFind = FindFirstFile(service, &fdFile)) == INVALID_HANDLE_VALUE)
HGOTO_ERROR(H5E_PLUGIN, H5E_OPENERROR, FAIL, "can't open directory")
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 19f610f..8904fee 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -639,7 +639,7 @@ ADD_TEST (NAME testlibinfo COMMAND ${CMAKE_COMMAND} -D "TEST_PROGRAM=$<TARGET_FI
IF (BUILD_SHARED_LIBS)
IF (WIN32 AND NOT CYGWIN)
- SET(CMAKE_SEP ";")
+ SET(CMAKE_SEP "\;")
ELSE (WIN32 AND NOT CYGWIN)
SET(CMAKE_SEP ":")
ENDIF(WIN32 AND NOT CYGWIN)