Skip to content

Commit

Permalink
Adding the compilation option for the optical flow into the cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibaud EHRET committed Jul 9, 2019
1 parent 43fb3c2 commit aef12c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ endif()

###############################################################################

if(OPTICALFLOW)
message("-- Compiling with the optical flow option activated.")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DOPTICALFLOW")
endif()

###############################################################################

set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)

add_subdirectory(multiscaler)
Expand Down
2 changes: 0 additions & 2 deletions src/vbm3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
#include "Utilities/LibVideoT.hpp"
#include "parameters.h"

//#define OPTICALFLOW

/** ------------------ **/
/** - Main functions - **/
/** ------------------ **/
Expand Down

0 comments on commit aef12c2

Please sign in to comment.