From faf2d7c9b6ca790e2efd55ba2fa5515bedc9f44c Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 13 Feb 2022 19:24:45 +0100 Subject: Added doc to GitDescribed and cleaned up all cmake modules --- cmake/modules/AddDownloadableResource.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmake/modules/AddDownloadableResource.cmake') diff --git a/cmake/modules/AddDownloadableResource.cmake b/cmake/modules/AddDownloadableResource.cmake index 9d00f58..5880aa0 100644 --- a/cmake/modules/AddDownloadableResource.cmake +++ b/cmake/modules/AddDownloadableResource.cmake @@ -32,8 +32,7 @@ # cleaned explicitly either by removing them manually or by running 'clean_downloaded_' target. set(ADD_DOWNLOADABLE_RESOURCE_SCRIPT ${CMAKE_CURRENT_LIST_DIR}/download_resource.cmake.in) -function(add_downloadable_resource) - set(RESOURCE_TARGET ${ARGV0}) +function(add_downloadable_resource RESOURCE_TARGET) cmake_parse_arguments( PARSE_ARGV 1 RESOURCE -- cgit v1.1