mirror of
https://github.com/curl/curl.git
synced 2026-06-19 04:15:36 +03:00
cmake: move OUTPUT argument in the add_custom_command() line
For greppability. Closes #17658
This commit is contained in:
parent
a282d89a8a
commit
eb01ac3fc8
6 changed files with 8 additions and 16 deletions
|
|
@ -31,8 +31,7 @@ if(LIB_SELECTED STREQUAL LIB_SHARED)
|
|||
list(APPEND _bundle_extra ${CURLX_SRCS}) # Not exported from the libcurl shared build. Build a copy.
|
||||
endif()
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT "${BUNDLE_SRC}"
|
||||
add_custom_command(OUTPUT "${BUNDLE_SRC}"
|
||||
COMMAND ${PERL_EXECUTABLE} "${PROJECT_SOURCE_DIR}/scripts/mk-unity.pl"
|
||||
--include ${_bundle_extra} --test ${TESTFILES}
|
||||
${CURL_MK_UNITY_OPTION} --srcdir "${CMAKE_CURRENT_SOURCE_DIR}" > "${BUNDLE_SRC}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue