mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Gracefuly omit doc creation if no perl detected
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38787 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
46d1f8a03c
commit
b5828f9df4
@ -563,10 +563,11 @@ add_subdirectory(lib/scripts "${TOP_BINARY_DIR}/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(${LYX_CMAKE_DIR}/man "${TOP_BINARY_DIR}/man")
|
||||
add_subdirectory(${LYX_CMAKE_DIR}/doc "${TOP_BINARY_DIR}/doc")
|
||||
endif()
|
||||
add_subdirectory(${LYX_CMAKE_DIR}/man "${TOP_BINARY_DIR}/man")
|
||||
add_subdirectory(${LYX_CMAKE_DIR}/doc "${TOP_BINARY_DIR}/doc")
|
||||
include(../Install)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user