Cmake: use correct variable to find make command

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-07-16 13:31:32 -07:00
parent 829e816e2b
commit f8ce5788b8

View file

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