Skip to content

Commit

Permalink
[CMake] CADO_SPOOL_DIR variable
Browse files Browse the repository at this point in the history
Now a variable for the SPOOL_DIR is been allocated.
  • Loading branch information
berdav committed Jan 31, 2020
1 parent f74176b commit 2d8ea7c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2d8ea7c

Please sign in to comment.