# # Copyright (c) 2010-2019 by Gilles Caulier, # Copyright (c) 2015 by Veaceslav Munteanu, # # 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 14) project(pgfutils) 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)