mirror of
https://github.com/moparisthebest/curl
synced 2024-11-17 23:15:08 -05:00
ec493dbda2
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
13 lines
474 B
CMake
13 lines
474 B
CMake
# Load man_MANS from shared file
|
|
transform_makefile_inc("Makefile.inc" "${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
|
|
include("${CMAKE_CURRENT_BINARY_DIR}/Makefile.inc.cmake")
|
|
|
|
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_dependencies(html opts-html)
|
|
add_dependencies(pdf opts-pdf)
|