aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2021-03-28 14:03:03 +0200
committerRenaud G <renaud@rolisteam.org>2021-03-28 14:03:03 +0200
commitee2d8b89c41d32a0e341ca564fd8e6e09267a4a6 (patch)
tree11a4d40d4b896b87f6b341acf9f88b9b2da28b99 /CMakeLists.txt
parentde55ac4c76ef3f6dbdc6fd2d03e3484bcfccdb0e (diff)
downloadOneRoll-ee2d8b89c41d32a0e341ca564fd8e6e09267a4a6.tar.gz
OneRoll-ee2d8b89c41d32a0e341ca564fd8e6e09267a4a6.zip
[irc] fix compilation
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index af3816b..21b4596 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,6 +9,7 @@ enable_testing(true)
include_directories(${CMAKE_CURRENT_SOURCE_DIR} result node)
option(BUILD_CLI OFF)
+option(BUILD_IRC OFF)
SET( dice_sources
${CMAKE_CURRENT_SOURCE_DIR}/diceparser.cpp
@@ -86,6 +87,10 @@ IF(BUILD_CLI)
add_subdirectory(cli)
ENDIF()
+IF(BUILD_IRC)
+ add_subdirectory(irc)
+ENDIF()
+
add_subdirectory( tests )
include(GNUInstallDirs)