Files @ r28616:1df48a6fd940
Branch filter:

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

glx22
Fix 48b6b18: Increase MAX_VALUATE_OPS to match the previous limit
# Autodetect grfcodec and nforenum.
#

find_program(GRFCODEC_EXECUTABLE grfcodec)
find_program(GRFID_EXECUTABLE grfid)
find_program(NFORENUM_EXECUTABLE nforenum)

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