Skip to content
Snippets Groups Projects
Commit 49b340f9 authored by Thibault Allenet's avatar Thibault Allenet
Browse files

Remove aidge_backend_cpu dependency from CMakeLists.txt

parent ab2fbc0f
No related branches found
No related tags found
2 merge requests!10Update backend_opencv with modifications from aidge_core,!9Remove dependency of backend CPU and fix CI
......@@ -31,7 +31,6 @@ endif()
##############################################
# Find system dependencies
find_package(aidge_core REQUIRED)
find_package(aidge_backend_cpu REQUIRED)
find_package(OpenCV REQUIRED)
if (${OpenCV_VERSION_MAJOR} LESS 3)
MESSAGE(FATAL_ERROR "Unsupported OpenCV version. OpenCV 3.0.0+ is required")
......@@ -47,7 +46,6 @@ add_library(${module_name} ${src_files} ${inc_files})
target_link_libraries(${module_name}
PUBLIC
_aidge_core # _ is added because we link the target not the project
_aidge_backend_cpu
)
target_link_libraries(${module_name} PUBLIC ${OpenCV_LIBS})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment