Skip to content
Snippets Groups Projects
Commit 80d69208 authored by Markus Blatt's avatar Markus Blatt
Browse files

[Merge][CMake] Merged revisions : 1574

Revision  r1574
.----------------------
Check whether latex is usable. If not, do not try to build the latex documents.

.----------------------


[[Imported from SVN: r1801]]
parents e4a56e16 c89ce064
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,9 @@ target_link_libraries(poosc08_test "dunecommon")
add_executable(indexset "indexset.cc")
target_link_libraries(indexset "dunecommon")
add_dune_mpi_flags("poosc08;poosc08_test;indexset")
include(UseLATEX)
ADD_LATEX_DOCUMENT(communication.tex FATHER_TARGET doc
BIBFILES communication.bib DEFAULT_SAFEPDF INPUTS poosc08_test.cc
IMAGE_DIRS figures)
create_doc_install(${CMAKE_CURRENT_BINARY_DIR}/communication.pdf share/doc/dune-istl/comm)
if(LATEX_USABLE)
ADD_LATEX_DOCUMENT(communication.tex FATHER_TARGET doc
BIBFILES communication.bib DEFAULT_SAFEPDF INPUTS poosc08_test.cc
IMAGE_DIRS figures)
create_doc_install(${CMAKE_CURRENT_BINARY_DIR}/communication.pdf share/doc/dune-istl/comm)
endif(LATEX_USABLE)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment