You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
313 B
CMake
14 lines
313 B
CMake
6 years ago
|
# 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
|
||
|
)
|