summaryrefslogtreecommitdiffhomepage
path: root/cmake/modules/AddDatafile.cmake
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-02-13 19:24:45 +0100
committerAki <please@ignore.pl>2022-02-13 19:24:45 +0100
commitfaf2d7c9b6ca790e2efd55ba2fa5515bedc9f44c (patch)
treeb3ad23dd034e6cc3ff0087201008679ea50dfe93 /cmake/modules/AddDatafile.cmake
parentba8a2b5fbe8cc688f506c3dac1f8713d67c6405a (diff)
downloadstarshatter-faf2d7c9b6ca790e2efd55ba2fa5515bedc9f44c.zip
starshatter-faf2d7c9b6ca790e2efd55ba2fa5515bedc9f44c.tar.gz
starshatter-faf2d7c9b6ca790e2efd55ba2fa5515bedc9f44c.tar.bz2
Added doc to GitDescribed and cleaned up all cmake modules
Diffstat (limited to 'cmake/modules/AddDatafile.cmake')
-rw-r--r--cmake/modules/AddDatafile.cmake3
1 files changed, 1 insertions, 2 deletions
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