cmake/Tests/RunCMake/FetchContent_find_package/PreserveEmptyArgs.cmake

14 lines
285 B
CMake
Raw Normal View History

2022-08-04 22:12:04 +02:00
include(FetchContent)
# Need to see the download command output
set(FETCHCONTENT_QUIET OFF)
FetchContent_Declare(
t1
DOWNLOAD_COMMAND ${CMAKE_COMMAND} -P
${CMAKE_CURRENT_LIST_DIR}/countArgs.cmake
before "" after
)
FetchContent_Populate(t1)