mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-25 23:06:10 -05:00
Issue compile error if DATA_DIR is not set
This commit is contained in:
parent
5aaf3e66f7
commit
c622ca035b
@ -782,6 +782,9 @@ static bool checkAccount(std::string accountdir, AccountDetails &account,std::ma
|
||||
|
||||
#else
|
||||
/* For Linux, the data directory is set in libretroshare.pro */
|
||||
#ifndef DATA_DIR
|
||||
#error DATA_DIR variable not set. Cannot compile.
|
||||
#endif
|
||||
dataDirectory = DATA_DIR;
|
||||
std::cerr << "getRetroshareDataDirectory() Linux: " << dataDirectory << std::endl;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user