summaryrefslogtreecommitdiff
path: root/cmake/FindGrfcodec.cmake
blob: 089f95670678e00d297f3986b4444557135ddf65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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
)