[CMake] CADO_SPOOL_DIR variable

Now a variable for the SPOOL_DIR is been allocated.
This commit is contained in:
Davide Berardi 2020-01-31 19:16:49 +01:00
parent f74176b388
commit 2d8ea7ce41
1 changed files with 6 additions and 0 deletions

View File

@ -23,6 +23,12 @@ else (WITHEDITOR)
set(EDITOR "/usr/bin/vi")
endif (WITHEDITOR)
if(DEBUILD)
set(CADO_SPOOL_DIR "/var/spool/cado")
else(DEBUILD)
set(CADO_SPOOL_DIR "/usr/local/var/spool/cado")
endif(DEBUILD)
configure_file(
"include/config.h.in"
"include/config.h"