enable build package with ut

Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
This commit is contained in:
zhoufeng 2020-12-05 17:36:37 +08:00
parent 1d94569d04
commit 3b961f9008
1 changed files with 1 additions and 3 deletions

View File

@ -3,8 +3,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-sign-compare")
if (ENABLE_ACL)
add_subdirectory(cxx_st)
elseif (ENABLE_GPU OR ENABLE_D OR ENABLE_CPU)
message(fatal "No need set -e xxx when compile ut")
else ()
add_subdirectory(ut)
endif()
endif ()