From 35fb69a3f19e4cf135a6976bb463a0f983e4454a Mon Sep 17 00:00:00 2001 From: Mederic Fourmy <mederic.fourmy@gmail.com> Date: Tue, 3 May 2022 19:50:47 +0200 Subject: [PATCH] Use wolfcore target instead of lib dirs to fix compilation --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index faede5478..87e10e6e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -186,7 +186,7 @@ endif() #Link the created libraries #===============EXAMPLE========================= -TARGET_LINK_LIBRARIES(${PLUGIN_NAME} ${wolfcore_LIBRARIES}) +TARGET_LINK_LIBRARIES(${PLUGIN_NAME} wolfcore) TARGET_LINK_LIBRARIES(${PLUGIN_NAME} ${OpenCV_LIBS}) #Build demos -- GitLab