summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-09-17 13:50:30 +0200
committerAki <please@ignore.pl>2022-09-17 13:50:30 +0200
commit2757b57e085ffc2613f65e3f4b3ffe33b8054431 (patch)
tree89def7c34db028ba36e4e6f995eca713e29eeb22
parent0fc03adc2c209f59f4bead0b2269fc16c00007c2 (diff)
downloadstarshatter-2757b57e085ffc2613f65e3f4b3ffe33b8054431.zip
starshatter-2757b57e085ffc2613f65e3f4b3ffe33b8054431.tar.gz
starshatter-2757b57e085ffc2613f65e3f4b3ffe33b8054431.tar.bz2
Fixed datafile not adding source files
-rw-r--r--cmake/modules/AddDatafile.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddDatafile.cmake b/cmake/modules/AddDatafile.cmake
index d64e865..ae9039c 100644
--- a/cmake/modules/AddDatafile.cmake
+++ b/cmake/modules/AddDatafile.cmake
@@ -62,7 +62,7 @@ function(add_datafile DATAFILE_TARGET)
$<TARGET_FILE:dat> -cu $<SHELL_PATH:${DATAFILE_OUTPUT}> .
)
endforeach()
- if(NOT DEFINED DATAFILE_SKIP_SOURCE)
+ if(NOT DATAFILE_SKIP_SOURCE)
file(
GLOB_RECURSE DATAFILE_DEPENDENCIES
LIST_DIRECTORIES true