]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/blobdiff - CMakeLists.txt
Make visualization configurable at run-time rather than at compile time
[hercules2020/kcf.git] / CMakeLists.txt
index d43c3bea40c667b4faa0ddc9ad01e40f50ff930b..0f3cf8232fff3838624d718a6f565ce7a4dc5ddb 100644 (file)
@@ -8,18 +8,12 @@ option(OPENCV_CUFFT " Use Nvidia CUFFT implemented in OpenCV. Together with Host
 option(FFTW "Use FFTW implementation of FFT. If selected together with OPENCV_CUFFT then this option will not be used." OFF)
 option(OPENMP "Use OpenMP library. Works with FFTW and OpenCV implementation." OFF)
 option(ASYNC "Works only if OPENCV_CUFFT is not ON. Will enable C++ async directive." OFF)
-option(VISULIZE_RESULT "Check if you want to visulize the result." OFF)
 option(DEBUG_MODE "Additional terminal outputs and screens. " OFF)
 
 IF((FFTW AND OPENCV_CUFFT) OR (OPENCV_CUFFT AND ASYNC) OR (ASYNC AND FFTW) OR (ASYNC AND OPENMP))
   MESSAGE(FATAL_ERROR "You can't do that")
 ENDIF() #WRONG_COMBINATION
 
-IF(VISULIZE_RESULT)
-  add_definitions(-DVISULIZE_RESULT)
-  MESSAGE(STATUS "Visulize result")
-ENDIF() #VISULIZE_RESULT
-
 IF(DEBUG_MODE )
   add_definitions(-DDEBUG_MODE )
   MESSAGE(STATUS "Debug mode")