# - Find the NDATE utility or build it

set( NO_DEFAULT_PATH )
if(DEFINED ENV{NDATE})
  set(NDATE $ENV{NDATE} )
else()
  find_file( NDATE
    NAMES ndate.x ndate
    HINTS
        /nwprod/util/exec
        $ENV{NWPROD}/util/exec
    ${NO_DEFAULT_PATH})
endif()