r189311 - Use set to create CLANG_ORDER_FILE instead of option which implies a bool value.

Michael Gottesman mgottesman at apple.com
Mon Aug 26 21:40:12 PDT 2013


Author: mgottesman
Date: Mon Aug 26 23:40:12 2013
New Revision: 189311

URL: http://llvm.org/viewvc/llvm-project?rev=189311&view=rev
Log:
Use set to create CLANG_ORDER_FILE instead of option which implies a bool value.

Patch by Edoardo P. <ed0.88.prez at gmail.com>.

Modified:
    cfe/trunk/CMakeLists.txt

Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=189311&r1=189310&r2=189311&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Mon Aug 26 23:40:12 2013
@@ -354,5 +354,5 @@ endif()
 set(BUG_REPORT_URL "http://llvm.org/bugs/" CACHE STRING
   "Default URL where bug reports are to be submitted.")
 
-option(CLANG_ORDER_FILE
-  "Order file to use when compiling clang in order to improve startup time." "")
+set(CLANG_ORDER_FILE "" CACHE FILEPATH
+  "Order file to use when compiling clang in order to improve startup time.")





More information about the cfe-commits mailing list