mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-17 16:50:18 +08:00
more syntax fixes
This commit is contained in:
parent
a40c7847f9
commit
05ce85be78
@ -1587,7 +1587,7 @@ foreach(_LIB ${ALL_TLL_LIBS})
|
||||
list(APPEND NC_LIBS "-l${_NAME}")
|
||||
get_filename_component(_LIB_DIR ${_LIB} PATH)
|
||||
list(APPEND LINKFLAGS "-L${_LIB_DIR}")
|
||||
endforach()
|
||||
endforeach()
|
||||
|
||||
#set(NC_LIBS "-lnetcdf ${NC_LIBS}")
|
||||
if(NC_LIBS)
|
||||
|
@ -82,7 +82,7 @@ macro(GEN_m4 filename)
|
||||
|
||||
# If m4 isn't present, and the generated file doesn't exist,
|
||||
# it cannot be generated and an error should be thrown.
|
||||
if(not HAVE_M4)
|
||||
if(NOT HAVE_M4)
|
||||
if(NOT EXISTS ${fallbackdest})
|
||||
message(FATAL_ERROR "m4 is required to generate ${filename}.c. Please install m4 so that it is on the PATH and try again.")
|
||||
else()
|
||||
|
Loading…
Reference in New Issue
Block a user