Fix the cmake declaration syntax

llvm-svn: 290045
This commit is contained in:
Sylvestre Ledru 2016-12-17 13:04:35 +00:00
parent 47b071deff
commit 521d7b45ba
1 changed files with 1 additions and 1 deletions

View 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()