summaryrefslogtreecommitdiff
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt14
1 files changed, 11 insertions, 3 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 635197bc9ddd3..c1667049f80fc 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -1,6 +1,14 @@
-if(LLVM_BUILD_EXAMPLES)
- set(ENABLE_EXAMPLES 1)
-endif()
+llvm_canonicalize_cmake_booleans(
+ LLVM_TOOL_LTO_BUILD
+ HAVE_OCAMLOPT
+ HAVE_OCAML_OUNIT
+ LLVM_INCLUDE_GO_TESTS
+ LLVM_USE_INTEL_JITEVENTS
+ HAVE_LIBZ
+ HAVE_LIBXAR
+ LLVM_ENABLE_DIA_SDK
+ LLVM_ENABLE_FFI
+ BUILD_SHARED_LIBS)
configure_lit_site_cfg(
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in