fix(query): fix error in cmake.

This commit is contained in:
Haojun Liao 2023-01-03 09:53:37 +08:00
parent 28bccd21a9
commit 879205eb92
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ ELSE ()
ENDIF ()
# disable all assert
IF (${DISABLE_ASSERT} OR ${DISABLE_ASSERTS})
IF ((${DISABLE_ASSERT} MATCHES "true") OR (${DISABLE_ASSERTS} MATCHES "true"))
ADD_DEFINITIONS(-DDISABLE_ASSERT)
MESSAGE(STATUS "Disable all asserts")
ENDIF()