Skip to content

Commit

Permalink
more syntax fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Jan 18, 2024
1 parent a40c784 commit 05ce85b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion cmake/netcdf_functions_macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 05ce85b

Please sign in to comment.