Previously, UseLATEX.cmake was calling latex_needit for the BIBLATEX_COMPILER variable. However, this variable was never set because the FindLATEX module sets the BIBER_COMPILER variable instead. Look for that variable. Other minor changes include updating the documenting comments and calling wantit rather than needit on the biber compiler just in case there are latex installations without it.
13 lines
363 B
CMake
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
|
|
)
|