aboutsummaryrefslogtreecommitdiff
path: root/xsig/CMakeLists.txt
blob: 47c1b817ac3c5831ca73ad1ad18526ed7bc94cdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set(xsig_SOURCES
    src/base64.cpp
    src/imageutil.cpp
    src/signature.cpp
    src/subslice_signature.cpp
    src/signature_db.cpp
)

add_library(xsig ${xsig_SOURCES})

target_include_directories(xsig PRIVATE ./src)
target_include_directories(xsig PUBLIC ./include)

target_link_libraries(xsig PRIVATE
    opencv_core
    opencv_imgcodecs
    opencv_imgproc
    ${SQLite3_LIBRARIES}
    ${CMAKE_THREAD_LIBS_INIT}
)

target_compile_options(xsig PRIVATE -Werror=return-type)