提交 879205eb 编写于 作者: H Haojun Liao

fix(query): fix error in cmake.

上级 28bccd21
...@@ -124,7 +124,7 @@ ELSE () ...@@ -124,7 +124,7 @@ ELSE ()
ENDIF () ENDIF ()
# disable all assert # disable all assert
IF (${DISABLE_ASSERT} OR ${DISABLE_ASSERTS}) IF ((${DISABLE_ASSERT} MATCHES "true") OR (${DISABLE_ASSERTS} MATCHES "true"))
ADD_DEFINITIONS(-DDISABLE_ASSERT) ADD_DEFINITIONS(-DDISABLE_ASSERT)
MESSAGE(STATUS "Disable all asserts") MESSAGE(STATUS "Disable all asserts")
ENDIF() ENDIF()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册