Commit ee74e2cf authored by Anatoly Baksheev's avatar Anatoly Baksheev

fixed compilation

parent 48aeb8f1
...@@ -3,17 +3,12 @@ ...@@ -3,17 +3,12 @@
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
project(opencv_test_gpu) project(opencv_test_gpu)
set(the_target "opencv_test_gpu")
file(GLOB test_srcs "src/*.cpp") file(GLOB test_srcs "src/*.cpp")
file(GLOB test_hdrs "src/*.h*")
source_group("Src" FILES ${test_srcs}) source_group("Src" FILES ${test_srcs})
file(GLOB test_hdrs "src/*.h*")
source_group("Include" FILES ${test_hdrs}) source_group("Include" FILES ${test_hdrs})
file(GLOB nvidia "src/nvidia/*.*") set(the_target "opencv_test_gpu")
SET(ncv_cpp ../../modules/gpu/src/nvidia/NCV.cpp)
source_group("Src\\nvidia" FILES ${nvidia})
include_directories ( include_directories (
"${CMAKE_SOURCE_DIR}/include/opencv" "${CMAKE_SOURCE_DIR}/include/opencv"
...@@ -34,15 +29,8 @@ include_directories ( ...@@ -34,15 +29,8 @@ include_directories (
) )
include_directories(../cxts) 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) add_executable(${the_target} ${test_srcs} ${test_hdrs})
include_directories(${NPPST_INC})
target_link_libraries(${the_target} ${NPPST_LIB})
# Additional target properties # Additional target properties
set_target_properties(${the_target} PROPERTIES set_target_properties(${the_target} PROPERTIES
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment