find jsoncpp without pkgconfig

This commit is contained in:
Martin Brodbeck 2018-08-02 13:48:56 +02:00
parent ebe7035298
commit 876c8468df
2 changed files with 33 additions and 2 deletions

View file

@ -2,10 +2,11 @@ set(Boost_USE_STATIC_LIBS ON)
find_package(Boost 1.62 COMPONENTS date_time REQUIRED)
find_package(SQLite3 REQUIRED)
find_package(PkgConfig REQUIRED)
#find_package(PkgConfig REQUIRED)
find_package(XLNT REQUIRED)
find_package(JSONCPP REQUIRED)
#pkg_check_modules(XLNT REQUIRED xlnt>=1.3)
pkg_check_modules(JSONCPP REQUIRED jsoncpp)
#pkg_check_modules(JSONCPP REQUIRED jsoncpp)
set(CORE_SOURCES
database.cpp