fix BuildTarsCpp.cmake GLOB_RECURSE source

This commit is contained in:
ruanshudong 2021-08-23 17:24:36 +08:00
parent 45bf0c25fb
commit d3d1104cfd

View File

@ -5,7 +5,7 @@ macro(build_tars_server MODULE DEPS)
include_directories(./)
aux_source_directory(. DIR_SRCS)
FILE(GLOB_RECURSE DIR_SRCS "*.cpp")
FILE(GLOB_RECURSE TARS_LIST "${CMAKE_CURRENT_SOURCE_DIR}/*.tars")
FILE(GLOB_RECURSE PB_LIST "${CMAKE_CURRENT_SOURCE_DIR}/*.proto")