[Lldb-commits] [lldb] r290045 - Fix the cmake declaration syntax

Sylvestre Ledru via lldb-commits lldb-commits at lists.llvm.org
Sat Dec 17 05:04:36 PST 2016


Author: sylvestre
Date: Sat Dec 17 07:04:35 2016
New Revision: 290045

URL: http://llvm.org/viewvc/llvm-project?rev=290045&view=rev
Log:
Fix the cmake declaration syntax

Modified:
    lldb/trunk/scripts/Python/modules/CMakeLists.txt

Modified: lldb/trunk/scripts/Python/modules/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/modules/CMakeLists.txt?rev=290045&r1=290044&r2=290045&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/modules/CMakeLists.txt (original)
+++ lldb/trunk/scripts/Python/modules/CMakeLists.txt Sat Dec 17 07:04:35 2016
@@ -6,6 +6,6 @@ if (CXX_SUPPORTS_NO_MACRO_REDEFINED)
 endif ()
 
 # build the Python readline suppression module only on Linux
-​if (CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "GNU" OR CMAKE_SYSTEM_NAME STREQUAL "kFreeBSD")
+if("${CMAKE_SYSTEM_NAME}" MATCHES "Linux" OR "${CMAKE_SYSTEM_NAME}" STREQUAL "GNU" OR "${CMAKE_SYSTEM_NAME}" STREQUAL "kFreeBSD")
    add_subdirectory(readline)
 endif()




More information about the lldb-commits mailing list