UseLATEX/tests/Subdirectory/CMakeLists.txt
Anatoly Borodin fb07aa109f Require CMake version >= 2.8.4
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>
2015-07-23 22:40:31 +02:00

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
)