From 2e15372a024af7a09fe85b30f476b85200cf6219 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 16 Oct 2018 19:26:40 +0300 Subject: [PATCH] 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. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fa2716fd..f5fad06c 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)