UseLATEX/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

13 lines
363 B
CMake

cmake_minimum_required(VERSION 2.8.4)
project(UseLATEX_DOC NONE)
include(UseLATEX.cmake)
# Note that normally CMakeLists.txt would not be considered an
# input to the document, but in this special case of documenting
# UseLATEX.cmake the contents of this file is actually included
# in the document.
add_latex_document(UseLATEX.tex
INPUTS CMakeLists.txt
)