fix cmake error

This commit is contained in:
Dennis Heimbigner 2021-03-08 14:27:56 -07:00
parent d65a41c6d8
commit 39f1c8b7b0
3 changed files with 5 additions and 2 deletions

View File

@ -97,6 +97,9 @@ EXTERNL char* NCpathcvt(const char* path);
/* Canonicalize and make absolute by prefixing the current working directory */
EXTERNL char* NCpathabsolute(const char* name);
/* Check if this path appears to start with a windows drive letter */
EXTERNL int NChasdriveletter(const char* path);
/* Convert from the local coding (e.g. ANSI) to utf-8;
note that this can produce unexpected results for Windows
because it first converts to wide character and then to utf8. */

View File

@ -44,7 +44,7 @@ struct MagicFile {
struct NCURI* uri;
int omode;
NCmodel* model;
fileoffset_t filelen;
size64_t filelen;
int use_parallel;
void* parameters; /* !NULL if inmemory && !diskless */
FILE* fp;

View File

@ -317,7 +317,7 @@ IF(ENABLE_TESTS)
add_sh_test(ncdump test_keywords)
ENDIF()
IF(USE_CDF5)
IF(USE_HDF5)
add_sh_test(ncdump test_scope)
ENDIF()