From e74950897ccf56d2facb7bee138178c548c2b5e2 Mon Sep 17 00:00:00 2001
From: Alexandre Tolstenko <tolstenko@gmail.com>
Date: Tue, 11 Jun 2024 15:53:13 -0400
Subject: [PATCH] fix(editor): add editor to the build system

---
 CMakeLists.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 81c10361..76f50f3d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -68,6 +68,11 @@ if(ENABLE_DOCUMENTATION)
   add_subdirectory(documentation)
 endif()
 
+option(ENABLE_EDITOR "ENABLE_EDITOR" ON)
+if(ENABLE_EDITOR)
+  add_subdirectory(editor)
+endif()
+
 CPMAddPackage(
   NAME CPMLicenses.cmake
   GITHUB_REPOSITORY cpm-cmake/CPMLicenses.cmake