https://git.reactos.org/?p=reactos.git;a=commitdiff;h=11031042270e348fae94cf5f782c09b6f4b2e815

commit 11031042270e348fae94cf5f782c09b6f4b2e815
Author:     Hermès Bélusca-Maïto <[email protected]>
AuthorDate: Sat Dec 10 00:30:28 2022 +0100
Commit:     Hermès Bélusca-Maïto <[email protected]>
CommitDate: Sat Dec 10 00:36:13 2022 +0100

    [ROSAPPS] Exclude the templates from compilation by default.
---
 modules/rosapps/CMakeLists.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/rosapps/CMakeLists.txt b/modules/rosapps/CMakeLists.txt
index 58a32c1c186..8581d2ad68c 100644
--- a/modules/rosapps/CMakeLists.txt
+++ b/modules/rosapps/CMakeLists.txt
@@ -3,7 +3,10 @@ add_subdirectory(demos)
 add_subdirectory(drivers)
 add_subdirectory(include)
 add_subdirectory(lib)
-add_subdirectory(templates)
+
+if(ENABLE_ROSAPPS_TEMPLATES)
+    add_subdirectory(templates)
+endif()
 
 list(APPEND ROSAPPS_INF_FILES rosapps_shortcuts.inf)
 

Reply via email to