diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ca4d39d..0e65e00 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,11 +58,7 @@ endif() option(HOTSTUFF_ENABLE_DEBUG_LOG "enable debug log" OFF) option(HOTSTUFF_ENABLE_NORMAL_LOG "enable normal log" ON) -if(HOTSTUFF_ENABLE_DEBUG_LOG) - add_definitions(-DHOTSTUFF_DEBUG_LOG) -elseif(HOTSTUFF_ENABLE_NORMAL_LOG) - add_definitions(-DHOTSTUFF_NORMAL_LOG) -endif() +configure_file(src/config.h.in include/hotstuff/config.h @ONLY) # add executables |