cmake: s/STEQUAL/STREQUAL/
Summary: Signed-off-by: Kefu Chai <tchaikov@gmail.com> Closes https://github.com/facebook/rocksdb/pull/1540 Differential Revision: D4207564 Pulled By: siying fbshipit-source-id: 567415b
This commit is contained in:
parent
c1038d2837
commit
41e77b8390
@ -43,10 +43,10 @@ else()
|
|||||||
add_definitions(-DROCKSDB_JEMALLOC)
|
add_definitions(-DROCKSDB_JEMALLOC)
|
||||||
include_directories(${JEMALLOC_INCLUDE_DIR})
|
include_directories(${JEMALLOC_INCLUDE_DIR})
|
||||||
endif()
|
endif()
|
||||||
if(CMAKE_SYSTEM_NAME STEQUAL "FreeBSD")
|
if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
||||||
# FreeBSD has jemaloc as default malloc
|
# FreeBSD has jemaloc as default malloc
|
||||||
add_definitions(-DROCKSDB_JEMALLOC)
|
add_definitions(-DROCKSDB_JEMALLOC)
|
||||||
set(WITH_JEMALLOC, ON)
|
set(WITH_JEMALLOC ON)
|
||||||
endif()
|
endif()
|
||||||
option(WITH_SNAPPY "build with SNAPPY" OFF)
|
option(WITH_SNAPPY "build with SNAPPY" OFF)
|
||||||
if(WITH_SNAPPY)
|
if(WITH_SNAPPY)
|
||||||
|
Loading…
Reference in New Issue
Block a user