more syntax fixes

This commit is contained in:
Kyle Shores 2024-01-18 15:07:13 -06:00
parent a40c7847f9
commit 05ce85be78
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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()