diff options
author | Chris Xiong <chirs241097@gmail.com> | 2022-09-12 01:08:48 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2022-09-12 01:08:48 -0400 |
commit | 247a53db3967792df64a583cea5d3c4fa299d4d5 (patch) | |
tree | beb9370f1b2da7656adc4984c3b7cf210cc901bf /tests | |
parent | 68c3a455c44b22911b6d2f7f0dcde5acaf8017da (diff) | |
download | deduper-247a53db3967792df64a583cea5d3c4fa299d4d5.tar.xz |
correct library linkage ordering.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 8 |
1 files changed, 3 insertions, 5 deletions
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) |