chiark / gitweb /
icons.cmake: explicitly search for Perl.
authorSimon Tatham <anakin@pobox.com>
Tue, 13 Apr 2021 17:14:54 +0000 (18:14 +0100)
committerSimon Tatham <anakin@pobox.com>
Tue, 13 Apr 2021 17:14:54 +0000 (18:14 +0100)
commitf8b15bab6b2a8dd8309cdef3dc49ae3377cb997d
tree154968f92ab34ae1ffc4c8bfcdf1ff1d93a15d76
parent69b5e7513a9418a61bfae3bc5889bb2c543a580a
icons.cmake: explicitly search for Perl.

This allows the icons build to automatically disable itself if Perl
can't be found at all (and print a warning explaining that that's
why). It also means that if Perl exists on the system but is somewhere
other than /usr/bin (where our #! lines expect it), the icons build
can still run.
icons/icons.cmake