superbuild_add_project(pcl
  DEPENDS flann eigen boost png zlib qhull

  CMAKE_ARGS
  -DCMAKE_CXX_STANDARD=11
  -DCMAKE_CXX_STANDARD_REQUIRED=true
  -DBoost_NO_BOOST_CMAKE:BOOL=true
  -DBoost_USE_MULTITHREAD=ON
  -DBoost_USE_STATIC_LIBS=OFF
  -DBoost_USE_STATIC=OFF
  -DBoost_LIBRARY_DIR_DEBUG:PATH=<INSTALL_DIR>/lib
  -DBoost_LIBRARY_DIR_RELEASE:PATH=<INSTALL_DIR>/lib
  -DPCL_BUILD_WITH_BOOST_DYNAMIC_LINKING_WIN32=true
  -DBOOST_LIBRARYDIR:PATH=<INSTALL_DIR>/lib
  -DBUILD_visualization:BOOL=OFF
  -DBUILD_examples:BOOL=OFF
  -DBUILD_tools:BOOL=OFF
  -DBUILD_OPENNI:BOOL=OFF
  -DBUILD_recognition:BOOL=OFF
  -DEIGEN_INCLUDE_DIR=<INSTALL_DIR>/include/eigen3
  -DWITH_PNG:BOOL=ON
  -DQHULL_LIBRARY:FILEPATH=<INSTALL_DIR>/lib/${CMAKE_STATIC_LIBRARY_PREFIX}qhullstatic${CMAKE_STATIC_LIBRARY_SUFFIX}
  -DQHULL_LIBRARY_DEBUG:FILEPATH=<INSTALL_DIR>/lib/${CMAKE_STATIC_LIBRARY_PREFIX}qhullstatic${CMAKE_STATIC_LIBRARY_SUFFIX}
  -DWITH_OPENNI:BOOL=OFF
  -DWITH_QT:BOOL=OFF
  -DWITH_VTK:BOOL=OFF
  -DWITH_LIBUSB:BOOL=OFF
  -DWITH_PCAP:BOOL=OFF
  -DWITH_FZAPI:BOOL=OFF
  -DWITH_PXCAPI:BOOL=OFF
  -DWITH_MPI:BOOL=OFF
  -DWITH_CUDA:BOOL=OFF
  -DWITH_DOCS:BOOL=OFF
  )
