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/AddDatafile.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmake/modules/AddDatafile.cmake') diff --git a/cmake/modules/AddDatafile.cmake b/cmake/modules/AddDatafile.cmake index f68ad04..6deda52 100644 --- a/cmake/modules/AddDatafile.cmake +++ b/cmake/modules/AddDatafile.cmake @@ -17,8 +17,7 @@ # # To create the archive the Datafile.exe is used - for non-Windows platforms an emulator that can run it is required. -function(add_datafile) - set(DATAFILE_TARGET ${ARGV0}) +function(add_datafile DATAFILE_TARGET) cmake_parse_arguments( PARSE_ARGV 1 DATAFILE -- cgit v1.1