diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/CMakeLists.txt | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 815e901..6536a47 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,8 +4,10 @@ set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) find_package(OpenCV REQUIRED COMPONENTS core imgproc imgcodecs highgui) +find_package(SQLite3 REQUIRED) find_package(Threads REQUIRED) include_directories(${OpenCV_INCLUDE_DIRS}) +include_directories(${SQLite3_INCLUDE_DIRS}) INCLUDE (CheckTypeSize) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b2529d4..700fc6a 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -19,10 +19,10 @@ target_link_libraries(image_util_tests add_executable(signature_test signature_test.cpp) target_link_libraries(signature_test + xsig opencv_core opencv_imgcodecs opencv_imgproc - xsig ) #add_executable(deduper_legacy deduper_legacy.cpp) @@ -34,26 +34,24 @@ target_link_libraries(signature_test add_executable(testdrive testdrive.cpp) target_link_libraries(testdrive + xsig opencv_core opencv_imgcodecs opencv_imgproc ${CMAKE_THREAD_LIBS_INIT} - xsig ) if(WIN32) target_link_libraries(testdrive shell32 kernel32) endif() -find_package(SQLite3 REQUIRED) -include_directories(${SQLite3_INCLUDE_DIRS}) add_executable(testdrive_sqlite testdrive_sqlite.cpp) target_link_libraries(testdrive_sqlite + xsig opencv_core opencv_imgcodecs opencv_imgproc ${SQLite3_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} - xsig ) if(WIN32) target_link_libraries(testdrive_sqlite shell32 kernel32) |