fix: cmake warning (#19444)

This commit is contained in:
Shuduo Sang 2023-01-09 16:23:15 +08:00 committed by GitHub
parent f199eee065
commit 4a8191782f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -26,9 +26,9 @@ ELSE ()
SET(LINK_WEBSOCKET "")
ENDIF ()
IF (CUS_NAME OR CUS_PROMPT)
IF (CUS_NAME OR CUS_PROMPT OR CUS_EMAIL)
ADD_DEFINITIONS(-I${CMAKE_CURRENT_SOURCE_DIR}/../../../enterprise/packaging)
ENDIF (CUS_NAME)
ENDIF (CUS_NAME OR CUS_PROMPT OR CUS_EMAIL)
if(TD_WINDOWS)
target_link_libraries(shell PUBLIC taos_static ${LINK_WEBSOCKET})