mirror of
https://github.com/digarok/gsplus.git
synced 2024-06-16 01:29:29 +00:00
check for perl/re2c programs.
This commit is contained in:
parent
7aea2e56f2
commit
b9bab83d6a
|
@ -53,6 +53,19 @@ endif()
|
|||
pkg_check_modules(SDL2 sdl2)
|
||||
pkg_check_modules(FREETYPE2 freetype2)
|
||||
|
||||
|
||||
find_program(PERL perl)
|
||||
find_program(RE2C re2c)
|
||||
|
||||
if (RE2C-NOTFOUND)
|
||||
message(FATAL_ERROR "unable to find re2c")
|
||||
endif()
|
||||
|
||||
if (PERL-NOTFOUND)
|
||||
message(FATAL_ERROR "unable to find perl")
|
||||
endif()
|
||||
|
||||
|
||||
#
|
||||
# run ccmake, cmake -LH, or cmake -D...
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue
Block a user