aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5426f67..18e0f70 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,8 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
PROJECT(rayskeleton C)
-ADD_SUBDIRECTORY(deps)
-ADD_SUBDIRECTORY(src)
+IF(BOOTSTRAP)
+ ADD_SUBDIRECTORY(deps)
+ELSE()
+ ADD_SUBDIRECTORY(src)
+ENDIF()