mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Cmake build: Check for perl before use
(Define PERL_EXCUTABLE to be used while calling perl scripts)
This commit is contained in:
parent
03a8208dc5
commit
5680a4d3be
@ -1211,6 +1211,10 @@ include(../Install)
|
|||||||
|
|
||||||
# By running the URL tests first, time can be saved when running the ctests in
|
# By running the URL tests first, time can be saved when running the ctests in
|
||||||
# parallel since the URL tests take a long time to run (e.g. 10 minutes).
|
# parallel since the URL tests take a long time to run (e.g. 10 minutes).
|
||||||
|
|
||||||
|
# Needed, because of perl scripts in checkurls autotests and batchtests
|
||||||
|
find_package(Perl REQUIRED)
|
||||||
|
|
||||||
if(LYX_ENABLE_URLTESTS)
|
if(LYX_ENABLE_URLTESTS)
|
||||||
add_subdirectory(development/checkurls "${TOP_BINARY_DIR}/checkurls")
|
add_subdirectory(development/checkurls "${TOP_BINARY_DIR}/checkurls")
|
||||||
endif()
|
endif()
|
||||||
|
@ -4,10 +4,7 @@
|
|||||||
# Copyright (c) 2013 Kornel Benko <kornel@lyx.org>
|
# Copyright (c) 2013 Kornel Benko <kornel@lyx.org>
|
||||||
# (c) 2013 Scott Kostyshak <skotysh@lyx.org>
|
# (c) 2013 Scott Kostyshak <skotysh@lyx.org>
|
||||||
#
|
#
|
||||||
# Needed, because of perl scripts here
|
|
||||||
find_package(Perl REQUIRED)
|
|
||||||
|
|
||||||
# create file the lyx-files-list
|
|
||||||
set(TOP_SEARCH_PATH "${TOP_SRC_DIR}")
|
set(TOP_SEARCH_PATH "${TOP_SRC_DIR}")
|
||||||
set(LYXFILES_FILE "${CMAKE_CURRENT_BINARY_DIR}/filesToScan")
|
set(LYXFILES_FILE "${CMAKE_CURRENT_BINARY_DIR}/filesToScan")
|
||||||
file(WRITE "${LYXFILES_FILE}")
|
file(WRITE "${LYXFILES_FILE}")
|
||||||
|
Loading…
Reference in New Issue
Block a user