Improve summary and implement find_package2

This commit is contained in:
Dennis Klein
2018-04-16 20:32:44 +02:00
parent 83315b2951
commit b9651437c3
7 changed files with 156 additions and 112 deletions

View File

@@ -20,7 +20,7 @@ endif()
# This should be the default as of CMake 3.1, but it is not set. BUG? Also, it does not work
set(PKG_CONFIG_USE_CMAKE_PREFIX_PATH 1)
find_package(PkgConfig)
find_package(PkgConfig QUIET)
if(PKG_CONFIG_FOUND)
# Find include dir and dependencies from pkgconfig