CMakeLists.txt 373 字节
Newer Older
Y
Yi Wang 已提交
1
if(${WITH_GPU})
2 3
  nv_library(system_allocator SRCS system_allocator.cc DEPS gflags)
  nv_test(system_allocator_test SRCS system_allocator_test.cc DEPS system_allocator gflags)
Y
Yi Wang 已提交
4
else(${WITH_GPU})
5 6
  cc_library(system_allocator SRCS system_allocator.cc DEPS gflags)
  cc_test(system_allocator_test SRCS system_allocator_test.cc DEPS system_allocator gflags)
Y
Yi Wang 已提交
7
endif(${WITH_GPU})