Cmake: make Grantlee5 required

Otherwise printing doesn't work. And we get weird build errors.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-09-04 12:12:24 -07:00
parent 65267e6e9d
commit 34930c0110

View file

@ -151,7 +151,7 @@ else()
pkg_config_library(GRANTLEE libgrantlee REQUIRED)
set(GRANTLEE_LIBRARIES "")
else()
find_package(Grantlee5)
find_package(Grantlee5 REQUIRED)
set(GRANTLEE_LIBRARIES Grantlee5::Templates)
endif()
set(SUBSURFACE_PRINTING_SRCS