diff --git a/tests/gpu/CMakeLists.txt b/tests/gpu/CMakeLists.txt index 966897e937..4a25f2f76d 100644 --- a/tests/gpu/CMakeLists.txt +++ b/tests/gpu/CMakeLists.txt @@ -3,17 +3,12 @@ # ---------------------------------------------------------------------------- project(opencv_test_gpu) -set(the_target "opencv_test_gpu") - file(GLOB test_srcs "src/*.cpp") -file(GLOB test_hdrs "src/*.h*") source_group("Src" FILES ${test_srcs}) +file(GLOB test_hdrs "src/*.h*") source_group("Include" FILES ${test_hdrs}) -file(GLOB nvidia "src/nvidia/*.*") -SET(ncv_cpp ../../modules/gpu/src/nvidia/NCV.cpp) -source_group("Src\\nvidia" FILES ${nvidia}) - +set(the_target "opencv_test_gpu") include_directories ( "${CMAKE_SOURCE_DIR}/include/opencv" @@ -34,15 +29,8 @@ include_directories ( ) include_directories(../cxts) -include_directories(../../modules/gpu/src/nvidia ../../3rdparty/NPP_staging) - - -add_executable(${the_target} ${test_srcs} ${test_hdrs} ${nvidia} ${ncv_cpp}) - -include(../../modules/gpu/FindNPP_staging.cmake) -include_directories(${NPPST_INC}) -target_link_libraries(${the_target} ${NPPST_LIB}) +add_executable(${the_target} ${test_srcs} ${test_hdrs}) # Additional target properties set_target_properties(${the_target} PROPERTIES