list(APPEND Caffe2_CPU_SRCS utils/string_utils.cc utils/threadpool/ThreadPool.cc ) if(USE_PTHREADPOOL AND NOT USE_INTERNAL_PTHREADPOOL_IMPL) list(APPEND Caffe2_CPU_SRCS utils/threadpool/pthreadpool-cpp.cc utils/threadpool/thread_pool_guard.cpp ) endif() if(NOT INTERN_BUILD_MOBILE) list(APPEND Caffe2_CPU_SRCS utils/proto_wrap.cc ) endif() set(Caffe2_CPU_SRCS ${Caffe2_CPU_SRCS} PARENT_SCOPE)