The newest 3.* CMake versions may be missing in some distributions.
The most recent feature required by UseLATEX and its tests is
ced1d5eccd
:
"Skip file-level dependencies on custom targets (#11332)". The commit is
included in the release version 2.8.4.
The following error messages are produced during compilation with
earlier CMake versions:
[100%] Built target UseLATEX_pdf
make[2]: *** No rule to make target `UseLATEX_pdf', needed by `UseLATEX_build/CMakeFiles/UseLATEX'. Stop.
Signed-off-by: Anatoly Borodin <anatoly.borodin@gmail.com>
10 lines
205 B
CMake
10 lines
205 B
CMake
cmake_minimum_required(VERSION 2.8.4)
|
|
|
|
project(Subdirectory NONE)
|
|
|
|
include(../../UseLATEX.cmake)
|
|
|
|
add_latex_document(subdir/Subdirectory.tex
|
|
IMAGE_DIRS subdir/images
|
|
INPUTS subdir/IncludedFile.tex
|
|
)
|