Fix the cmake declaration syntax
authorSylvestre Ledru <sylvestre@debian.org>
Sat, 17 Dec 2016 13:04:35 +0000 (13:04 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Sat, 17 Dec 2016 13:04:35 +0000 (13:04 +0000)
llvm-svn: 290045

lldb/scripts/Python/modules/CMakeLists.txt

index cef7063..f2269c3 100644 (file)
@@ -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()