summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-01-15 18:56:45 +0000
committerDan Albert <danalbert@google.com>2015-01-15 18:56:45 +0000
commit8a894a456c07a0224f26463d35155d8ad9762b10 (patch)
treefe116f691f805a0b431abedf0971860268e510f6 /libcxx/test
parentf0b130ace010ae4bdc668454599e8f6ab31100a5 (diff)
downloadbcm5719-llvm-8a894a456c07a0224f26463d35155d8ad9762b10.tar.gz
bcm5719-llvm-8a894a456c07a0224f26463d35155d8ad9762b10.zip
Use set() instead of option() for string option.
Fixes issue in r226185. llvm-svn: 226192
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/test/CMakeLists.txt b/libcxx/test/CMakeLists.txt
index 28dfe5c7091..8cffd4331c9 100644
--- a/libcxx/test/CMakeLists.txt
+++ b/libcxx/test/CMakeLists.txt
@@ -23,7 +23,8 @@ if(PYTHONINTERP_FOUND)
set(LIT_ARGS "${LLVM_LIT_ARGS}")
separate_arguments(LIT_ARGS)
- option(LIBCXX_LIT_VARIANT "Configuration variant to use for LIT." "libcxx")
+ set(LIBCXX_LIT_VARIANT "libcxx" CACHE STRING
+ "Configuration variant to use for LIT.")
pythonize_bool(LIBCXX_ENABLE_EXCEPTIONS)
pythonize_bool(LIBCXX_ENABLE_RTTI)
OpenPOWER on IntegriCloud