Commit 3b1bf740 authored by louiz’'s avatar louiz’

Fix the CMakeLists.txt regarding ronn

parent 930696e4
......@@ -6,7 +6,7 @@ set(${PROJECT_NAME}_VERSION_MAJOR 0)
set(${PROJECT_NAME}_VERSION_MINOR 1)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pedantic -Wall -Wextra")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Og")
# set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fsanitize=address")
# Define a __FILENAME__ macro to get the filename of each file, instead of
# the full path as in __FILE__
......@@ -47,11 +47,10 @@ find_program(RONN_EXECUTABLE NAMES ronn
if(RONN_EXECUTABLE)
set(WITH_DOC true)
add_custom_target(doc
${RONN_SOFTWARE} --roff ${CMAKE_CURRENT_BINARY_DIR}/doc/${PROJECT_NAME}.1.md
${RONN_EXECUTABLE} --roff ${CMAKE_CURRENT_BINARY_DIR}/doc/${PROJECT_NAME}.1.md
COMMENT "Generate the man page" VERBATIM)
endif()
#
## utils
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment