projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eb1380
)
[libc][Obvious] Include MPFRWrapper and testutils only if tests are enabled.
author
Siva Chandra Reddy
<sivachandra@google.com>
Fri, 10 Feb 2023 09:03:05 +0000
(09:03 +0000)
committer
Siva Chandra Reddy
<sivachandra@google.com>
Fri, 10 Feb 2023 09:04:41 +0000
(09:04 +0000)
libc/utils/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/libc/utils/CMakeLists.txt
b/libc/utils/CMakeLists.txt
index
e6cfc8f
..
d4ed96f
100644
(file)
--- a/
libc/utils/CMakeLists.txt
+++ b/
libc/utils/CMakeLists.txt
@@
-1,2
+1,4
@@
-add_subdirectory(MPFRWrapper)
-add_subdirectory(testutils)
+if(LLVM_INCLUDE_TESTS)
+ add_subdirectory(MPFRWrapper)
+ add_subdirectory(testutils)
+endif()