Cmake: don't hardcode the make command

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-07-14 14:53:15 -07:00
parent 9510f40db4
commit 4dfb39cc49

View file

@ -574,7 +574,7 @@ if(NOT NO_DOCS)
add_custom_target(
documentation ALL
COMMAND
make -C ${CMAKE_SOURCE_DIR}/Documentation OUT=${CMAKE_BINARY_DIR}/Documentation/ doc
${MAKE} -C ${CMAKE_SOURCE_DIR}/Documentation OUT=${CMAKE_BINARY_DIR}/Documentation/ doc
DEPENDS documentationLink
)
endif()