Files @ r27836:e1c1dfbccca2
Branch filter:

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

Patric Stout
Fix: [CI] Allow release-flow to run in forks (while skipping survey-key) (#11241)
# 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
)