mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Gracefuly omit doc creation if no perl detected
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@38788 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e7f9813942
commit
ee42f84c77
@ -490,10 +490,11 @@ add_subdirectory(scripts)
|
||||
if(LYX_INSTALL)
|
||||
FIND_PROGRAM(LYX_PERL_EXECUTABLE perl)
|
||||
if(${LYX_PERL_EXECUTABLE} MATCHES "-NOTFOUND")
|
||||
message(FATAL_ERROR "Perl required!")
|
||||
message(STATUS "Perl required to create doc!")
|
||||
else()
|
||||
add_subdirectory(man)
|
||||
add_subdirectory(doc)
|
||||
endif()
|
||||
add_subdirectory(man)
|
||||
add_subdirectory(doc)
|
||||
include(../Install)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user