check_packages.cmake 329 字节
Newer Older
Z
zhangjinchao01 已提交
1 2 3 4
# Check package for each cmake option

if(WITH_GPU)
  find_package(CUDA REQUIRED)  # CUDA is required when use gpu
L
liaogang 已提交
5
endif(WITH_GPU)
Z
zhangjinchao01 已提交
6 7 8 9

if(WITH_DOC)
  find_package(Sphinx REQUIRED)
  find_python_module(recommonmark REQUIRED)
L
liaogang 已提交
10
endif(WITH_DOC)
Z
zhangjinchao01 已提交
11 12 13

if(WITH_SWIG_PY)
  find_python_module(wheel REQUIRED)  # package wheel
L
liaogang 已提交
14
endif(WITH_SWIG_PY)