Skip to content

Commit

Permalink
CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreguillot committed Aug 30, 2024
1 parent 1f7785e commit d6fc643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ string(REPLACE "src=\"Images/" "src=\"${PARTIELS_DOCS_REL}/Images/" MANUAL_CONTE
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/Partiels-Manual.md ${MANUAL_CONTENT})
find_program(MDPDF_EXE "mdpdf")
if(MDPDF_EXE)
add_custom_target(PartielsManual COMMAND ${MDPDF_EXE} ${CMAKE_CURRENT_BINARY_DIR}/Partiels-Manual.md ${PARTIELS_MANUAL_DIR}/Partiels-Manual.pdf --debug VERBATIM)
add_custom_target(PartielsManual COMMAND ${MDPDF_EXE} ${CMAKE_CURRENT_BINARY_DIR}/Partiels-Manual.md ${PARTIELS_MANUAL_DIR}/Partiels-Manual.pdf --debug VERBATIM WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
else()
message(STATUS "Manual target cannot be generated because mdpdf is not found")
endif()
Expand Down

0 comments on commit d6fc643

Please sign in to comment.