
# we need to make sure these come before anything like /usr/include so we get the right .mod file
include_directories(BEFORE   ${CMAKE_CURRENT_BINARY_DIR} ${METVIEW_STANDARD_INCLUDES})

ecbuild_add_executable( TARGET       PottF
                        SOURCES      PottF.cc
                        DEFINITIONS  ${METVIEW_EXTRA_DEFINITIONS}
                        #INCLUDES     ${METVIEW_STANDARD_INCLUDES}
                        LIBS         ${STANDARD_METVIEW_LIBS} ${GRIB_API_LIBRARIES}
                    )

metview_module_files(ETC_FILES  ObjectSpec.PottF PottFDef PottFRules)
