Suppress cmake warning for OSX build

This commit is contained in:
Soonho Kong 2013-09-20 23:49:09 -07:00
parent d29ec9ab6f
commit 66ba1a20d7

View file

@ -89,6 +89,7 @@ if("${READLINE}" MATCHES "ON")
endif()
# Check malloc_usable_size
set(MALLOC_DIR "")
if(NOT "${TCMALLOC_FOUND}" AND "${TRACK_MEMORY_USAGE}" MATCHES "ON")
find_package(MallocUsableSize)
if("${MUS_FOUND}" MATCHES "TRUE")
@ -147,4 +148,5 @@ file(GLOB_RECURSE LEAN_SOURCES
${LEAN_SOURCE_DIR}/[A-Za-z]*.h)
add_style_check_target(style "${LEAN_SOURCES}")
add_test(NAME style_check
COMMAND ${LEAN_SOURCE_DIR}/cmake/Modules/cpplint.py ${LEAN_SOURCES})
COMMAND ${LEAN_SOURCE_DIR}/cmake/Modules/cpplint.py ${LEAN_SOURCES})