You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
740 B
33 lines
740 B
cmake_minimum_required (VERSION 3.5)
|
|
find_package( OpenCV REQUIRED )
|
|
|
|
message(STATUS "oPENCV Library status:")
|
|
message(STATUS ">version:${OpenCV_VERSION}")
|
|
message(STATUS "Include:${OpenCV_INCLUDE_DIRS}")
|
|
set(ModuleName "test_BOE_Det_POL")
|
|
|
|
|
|
set(CMAKE_CXX_FLAGS "-Wno-error=deprecated-declarations -Wno-deprecated-declarations")
|
|
|
|
include_directories(
|
|
/usr/local/include
|
|
/usr/local/cuda-11.3/targets/x86_64-linux/include
|
|
${CMAKE_CURRENT_SOURCE_DIR}/include
|
|
${PROJECT_SOURCE_DIR}/Common/include
|
|
)
|
|
|
|
link_directories(
|
|
/usr/local/lib/
|
|
)
|
|
file(GLOB SRC_LISTS ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
|
|
|
|
add_executable(test_BOE_Det_POL ${SRC_LISTS})
|
|
|
|
target_link_libraries(test_BOE_Det_POL
|
|
pthread
|
|
BOE_Det_POL
|
|
curl
|
|
${OpenCV_LIBS}
|
|
)
|
|
|
|
set(ModuleName "") |