1
0
Fork 0

Cmake: detect various packages quietly

For packages which are optional, check for them quietly, to avoid lots
of noise in our CMake output.
This commit is contained in:
James Turner 2020-04-09 14:00:19 +01:00
parent c78e6fb443
commit 9957d02687
2 changed files with 6 additions and 6 deletions

View file

@ -314,7 +314,7 @@ find_package(OpenSceneGraph 3.2.0 REQUIRED
osgGA
)
find_package(sentry)
find_package(sentry QUIET)
if (TARGET sentry::sentry)
message(STATUS "Sentry.io crash reporting enabled")

View file

@ -1,9 +1,9 @@
find_package(PNG)
find_package(OpenGL)
find_package(Freetype)
find_package(PNG QUIET)
find_package(OpenGL QUIET)
find_package(Freetype QUIET)
find_package(GLUT)
find_package(GLEW)
find_package(GLUT QUIET)
find_package(GLEW QUIET)
if(NOT ${GLUT_FOUND})
message(WARNING "GLUT NOT found, can't build FGPanel")