From 41e77b8390264c2c20dd8d1a71909c5630b74f9f Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 18 Nov 2016 14:41:30 -0800 Subject: [PATCH] cmake: s/STEQUAL/STREQUAL/ Summary: Signed-off-by: Kefu Chai Closes https://github.com/facebook/rocksdb/pull/1540 Differential Revision: D4207564 Pulled By: siying fbshipit-source-id: 567415b --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 85273cdf2..51d3a99cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,10 +43,10 @@ else() add_definitions(-DROCKSDB_JEMALLOC) include_directories(${JEMALLOC_INCLUDE_DIR}) endif() - if(CMAKE_SYSTEM_NAME STEQUAL "FreeBSD") + if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") # FreeBSD has jemaloc as default malloc add_definitions(-DROCKSDB_JEMALLOC) - set(WITH_JEMALLOC, ON) + set(WITH_JEMALLOC ON) endif() option(WITH_SNAPPY "build with SNAPPY" OFF) if(WITH_SNAPPY)