From 0386bba2993160e302a261b03cd1906dff9015e7 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Thu, 20 Feb 2014 13:48:26 -0600 Subject: [PATCH] Fixed multithreading library in CMakeLists --- src/misc_utilities/CMakeLists.txt | 12 +++++++++++- src/openalpr/CMakeLists.txt | 8 ++++---- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/misc_utilities/CMakeLists.txt b/src/misc_utilities/CMakeLists.txt index f2786b9..fd675f9 100644 --- a/src/misc_utilities/CMakeLists.txt +++ b/src/misc_utilities/CMakeLists.txt @@ -24,6 +24,7 @@ ADD_EXECUTABLE( benchmark benchmark.cpp ) TARGET_LINK_LIBRARIES(benchmark openalpr support + tinythread ${OpenCV_LIBS} tesseract ) @@ -35,4 +36,13 @@ TARGET_LINK_LIBRARIES(prepcharsfortraining ${OpenCV_LIBS} ) - \ No newline at end of file + + +ADD_EXECUTABLE( findnegatives findnegatives.cpp ) +TARGET_LINK_LIBRARIES(findnegatives + openalpr + support + tinythread + ${OpenCV_LIBS} + tesseract + ) \ No newline at end of file diff --git a/src/openalpr/CMakeLists.txt b/src/openalpr/CMakeLists.txt index 06d7650..6a27d58 100644 --- a/src/openalpr/CMakeLists.txt +++ b/src/openalpr/CMakeLists.txt @@ -26,10 +26,10 @@ set(lpr_source_files ) -add_library(openalpr ${lpr_source_files}) - - add_subdirectory(simpleini) add_subdirectory(support) -add_subdirectory(tinythread) \ No newline at end of file +add_subdirectory(tinythread) + + +add_library(openalpr ${lpr_source_files}) \ No newline at end of file