gpu samples: fix REMOVE_ITEM error

pull/5902/head
Alexander Alekhin 9 years ago
parent 8d79285d02
commit cdb9c60dcb
  1. 2
      samples/gpu/CMakeLists.txt

@ -97,7 +97,7 @@ endif()
if(INSTALL_C_EXAMPLES AND NOT WIN32)
file(GLOB install_list *.c *.cpp *.jpg *.png *.data makefile.* build_all.sh *.dsp *.cmd )
if(NOT WITH_OPENGL)
list(REMOVE_ITEM all_samples "opengl.cpp")
list(REMOVE_ITEM install_list "opengl.cpp")
endif(NOT WITH_OPENGL)
install(FILES ${install_list}
DESTINATION ${OPENCV_SAMPLES_SRC_INSTALL_PATH}/gpu

Loading…
Cancel
Save