Skip to content

Commit 2e15372

Browse files
authored
Always store vfs in the project binary dir
This is needed when DATADIR is set - regardless of the setting, vfs file must end up in the build directory.
1 parent 185de0a commit 2e15372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,6 @@ IF(NOT DONTCREATEVFS)
245245
ADD_CUSTOM_COMMAND(
246246
TARGET astromenace
247247
POST_BUILD
248-
COMMAND ${CMAKE_BINARY_DIR}/${astromenace_BIN} --pack --rawdata=${astromenace_DATA}
248+
COMMAND ${CMAKE_BINARY_DIR}/${astromenace_BIN} --pack --rawdata=${astromenace_DATA} --dir=${PROJECT_BINARY_DIR}
249249
)
250250
ENDIF(NOT DONTCREATEVFS)

0 commit comments

Comments
 (0)