From ec493dbda2323e055c8861503d533870a697ce73 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Thu, 30 Mar 2017 14:27:51 +0200 Subject: cmake: fix build with cmake 2.8.12.2 For some reason, CMake 2.8.12.2 did not expand the list argument in a single DEPENDS argument. Remove the quotes, so it gets expanded into multiple arguments for add_custom_command and add_custom_target. Fixes https://github.com/curl/curl/issues/1370 Closes #1372 --- docs/cmdline-opts/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/cmdline-opts') diff --git a/docs/cmdline-opts/CMakeLists.txt b/docs/cmdline-opts/CMakeLists.txt index ccee4a142..5aa20dfdb 100644 --- a/docs/cmdline-opts/CMakeLists.txt +++ b/docs/cmdline-opts/CMakeLists.txt @@ -6,7 +6,7 @@ include("${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake") add_custom_command(OUTPUT "${MANPAGE}" COMMAND "${PERL_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/gen.pl" mainpage "${CMAKE_CURRENT_SOURCE_DIR}" > "${MANPAGE}" - DEPENDS "${DPAGES}" "${OTHERPAGES}" + DEPENDS ${DPAGES} ${OTHERPAGES} VERBATIM ) add_custom_target(generate-curl.1 DEPENDS "${MANPAGE}") -- cgit v1.2.3