merged gpunonfree and nonfree module
This commit is contained in:
@@ -10,8 +10,8 @@ endif()
|
||||
add_executable(${the_target} ${sources} ${headers})
|
||||
target_link_libraries(${the_target} ${OPENCV_LINKER_LIBS} ${OPENCV_GPU_SAMPLES_REQUIRED_DEPS})
|
||||
|
||||
if(HAVE_opencv_gpunonfree)
|
||||
target_link_libraries(${the_target} opencv_gpunonfree opencv_nonfree)
|
||||
if(HAVE_opencv_nonfree)
|
||||
target_link_libraries(${the_target} opencv_nonfree)
|
||||
endif()
|
||||
|
||||
set_target_properties(${the_target} PROPERTIES
|
||||
|
@@ -8,8 +8,8 @@
|
||||
#include "performance.h"
|
||||
|
||||
#include "opencv2/opencv_modules.hpp"
|
||||
#ifdef HAVE_OPENCV_GPUNONFREE
|
||||
#include "opencv2/gpunonfree/gpunonfree.hpp"
|
||||
#ifdef HAVE_OPENCV_NONFREE
|
||||
#include "opencv2/nonfree/gpu.hpp"
|
||||
#include "opencv2/nonfree/nonfree.hpp"
|
||||
#endif
|
||||
|
||||
@@ -271,7 +271,7 @@ TEST(meanShift)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_OPENCV_GPUNONFREE
|
||||
#ifdef HAVE_OPENCV_NONFREE
|
||||
|
||||
TEST(SURF)
|
||||
{
|
||||
|
Reference in New Issue
Block a user