Files @ r25348:f05752ac4669
Branch filter:

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

Matt Kimber
Fix 3d7ab09: stopped trains not updating viewport hash when reversed for a second time (#9165)
# 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
)