Files @ r24743:6976bb35b8bd
Branch filter:

Location: cpp/openttd-patchpack/source/cmake/FindGrfcodec.cmake - annotation

Patric Stout
Codechange: [SDL2] Name paint function Paint(), like other drivers do

This reduces confusion when reading different drivers.
# Autodetect grfcodec and nforenum.
#

find_program(GRFCODEC_EXECUTABLE grfcodec)
find_program(NFORENUM_EXECUTABLE nforenum)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Grfcodec
    FOUND_VAR GRFCODEC_FOUND
    REQUIRED_VARS
        GRFCODEC_EXECUTABLE
        NFORENUM_EXECUTABLE
)