aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/opts
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2017-03-30 14:27:51 +0200
committerPeter Wu <peter@lekensteyn.nl>2017-03-30 23:43:35 +0200
commitec493dbda2323e055c8861503d533870a697ce73 (patch)
tree54444189a17bb8d07e4ae569140c19c95999b86c /docs/libcurl/opts
parente358a626f8e8f2f8e35f83d5021bed8fc6567149 (diff)
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
Diffstat (limited to 'docs/libcurl/opts')
-rw-r--r--docs/libcurl/opts/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/opts/CMakeLists.txt b/docs/libcurl/opts/CMakeLists.txt
index 24c011180..709d3e4b8 100644
--- a/docs/libcurl/opts/CMakeLists.txt
+++ b/docs/libcurl/opts/CMakeLists.txt
@@ -6,7 +6,7 @@ add_manual_pages(man_MANS)
string(REPLACE ".3" ".html" HTMLPAGES "${man_MANS}")
string(REPLACE ".3" ".pdf" PDFPAGES "${man_MANS}")
-add_custom_target(opts-html DEPENDS "${HTMLPAGES}")
-add_custom_target(opts-pdf DEPENDS "${PDFPAGES}")
+add_custom_target(opts-html DEPENDS ${HTMLPAGES})
+add_custom_target(opts-pdf DEPENDS ${PDFPAGES})
add_dependencies(html opts-html)
add_dependencies(pdf opts-pdf)