Skip to content

Commit

Permalink
Always store vfs in the project binary dir
Browse files Browse the repository at this point in the history
This is needed when DATADIR is set - regardless of the setting, vfs file must end up in the build directory.
  • Loading branch information
AMDmi3 committed Oct 16, 2018
1 parent 185de0a commit 2e15372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,6 @@ IF(NOT DONTCREATEVFS)
ADD_CUSTOM_COMMAND(
TARGET astromenace
POST_BUILD
COMMAND ${CMAKE_BINARY_DIR}/${astromenace_BIN} --pack --rawdata=${astromenace_DATA}
COMMAND ${CMAKE_BINARY_DIR}/${astromenace_BIN} --pack --rawdata=${astromenace_DATA} --dir=${PROJECT_BINARY_DIR}
)
ENDIF(NOT DONTCREATEVFS)

0 comments on commit 2e15372

Please sign in to comment.