blob: 70a0f672028a72de89f599b556d8dae86ee79d91 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- CMakeLists.txt.orig 2019-01-29 23:00:07 UTC
+++ CMakeLists.txt
@@ -350,9 +350,15 @@ add_custom_target(install-thrust
)
# add examples, testing and performance testing targets
-add_subdirectory(examples)
-add_subdirectory(testing)
-add_subdirectory(performance)
+if (ENABLE_EXAMPLES)
+ add_subdirectory(examples)
+endif()
+if (ENABLE_TESTING)
+ add_subdirectory(testing)
+endif()
+if (ENABLE_PERFORMANCE)
+ add_subdirectory(performance)
+endif()
### make zip acrhive
|