You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
987 B
30 lines
987 B
# |
|
# Copyright (c) 2010-2019 by Gilles Caulier, <caulier dot gilles at gmail dot com> |
|
# Copyright (c) 2015 by Veaceslav Munteanu, <veaceslav dot munteanu90 at gmail dot com> |
|
# |
|
# Redistribution and use is allowed according to the terms of the BSD license. |
|
# For details see the accompanying COPYING-CMAKE-SCRIPTS file. |
|
|
|
cmake_minimum_required(VERSION 3.1.0) |
|
set(CMAKE_CXX_STANDARD 11) |
|
project(pgfutils) |
|
|
|
find_library(SQLITE3_LIB NAMES sqlite3 libsqlite3 REQUIRED) |
|
find_package(Qt5 COMPONENTS Core Gui REQUIRED) |
|
|
|
set(libpgfutils_SRCS |
|
pgfutils.cpp |
|
libpgf/Decoder.cpp |
|
libpgf/Encoder.cpp |
|
libpgf/PGFimage.cpp |
|
libpgf/PGFstream.cpp |
|
libpgf/Subband.cpp |
|
libpgf/WaveletTransform.cpp |
|
) |
|
|
|
add_library(pgfutils ${libpgfutils_SRCS}) |
|
target_link_libraries(pgfutils Qt5::Core Qt5::Gui) |
|
target_include_directories(pgfutils PUBLIC libpgf) |
|
|
|
add_executable(digikam_extract_thumbs digikam_extract_thumbs.cpp) |
|
target_link_libraries(digikam_extract_thumbs pgfutils ${SQLITE3_LIB})
|
|
|