aboutsummaryrefslogtreecommitdiff
path: root/lit/CMakeLists.txt
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2018-01-24 20:26:12 +0000
committerDimitry Andric <dim@FreeBSD.org>2018-01-24 20:26:12 +0000
commita2cf70158c66891c9c041270b450e9699b0439fb (patch)
tree03cb951b1ed6d1c0eaea0b9ba0c298c18f2aecbc /lit/CMakeLists.txt
parent4298ea0c0f4c4afb87fb28f496b3df781088b73c (diff)
downloadsrc-f47089b903619754e7ec37c35e7c763766c133bc.tar.gz
src-f47089b903619754e7ec37c35e7c763766c133bc.zip
Diffstat (limited to 'lit/CMakeLists.txt')
-rw-r--r--lit/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/lit/CMakeLists.txt b/lit/CMakeLists.txt
index 5488154318a9..03fe3d881e9c 100644
--- a/lit/CMakeLists.txt
+++ b/lit/CMakeLists.txt
@@ -11,6 +11,10 @@ else()
set(ENABLE_SHARED 0)
endif(BUILD_SHARED_LIBS)
+# the value is not canonicalized within LLVM
+llvm_canonicalize_cmake_booleans(
+ LLVM_ENABLE_ZLIB)
+
configure_lit_site_cfg(
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg)