Permalink
Browse files

applied Geoff Biggs' patch to reduce verbosity of CMake output in ccmake

  • Loading branch information...
rtv
rtv committed Jan 5, 2009
1 parent 3680786 commit 83ac4a9ef483400aaa965199ace7a0a9de2745eb
Showing with 18 additions and 18 deletions.
  1. +18 −18 CMakeLists.txt
View
@@ -59,18 +59,18 @@ MESSAGE( STATUS "Checking for required libraries..." )
SET( INDENT " * " )
pkg_search_module( GLIB REQUIRED gthread-2.0 )
IF( GLIB_FOUND )
- MESSAGE( ${INDENT} "Glib version ${GLIB_VERSION} detected at ${GLIB_PREFIX}" )
- MESSAGE( " GLIB_CFLAGS = ${GLIB_CFLAGS}" )
- MESSAGE( " GLIB_LDFLAGS = ${GLIB_LDFLAGS}" )
+ MESSAGE( STATUS ${INDENT} "Glib version ${GLIB_VERSION} detected at ${GLIB_PREFIX}" )
+ MESSAGE( STATUS " GLIB_CFLAGS = ${GLIB_CFLAGS}" )
+ MESSAGE( STATUS " GLIB_LDFLAGS = ${GLIB_LDFLAGS}" )
ELSE( GLIB_FOUND )
MESSAGE( ${INDENT} "Glib not detected" )
ENDIF( GLIB_FOUND )
pkg_search_module( LIBPNG REQUIRED libpng )
IF( LIBPNG_FOUND )
- MESSAGE( ${INDENT} "Libpng version ${LIBPNG_VERSION} detected at ${LIBPNG_PREFIX}" )
- MESSAGE( " LIBPNG_CFLAGS = ${LIBPNG_CFLAGS}" )
- MESSAGE( " LIBPNG_LDFLAGS = ${LIBPNG_LDFLAGS}" )
+ MESSAGE( STATUS ${INDENT} "Libpng version ${LIBPNG_VERSION} detected at ${LIBPNG_PREFIX}" )
+ MESSAGE( STATUS " LIBPNG_CFLAGS = ${LIBPNG_CFLAGS}" )
+ MESSAGE( STATUS " LIBPNG_LDFLAGS = ${LIBPNG_LDFLAGS}" )
ELSE( LIBPNG_FOUND )
MESSAGE( ${INDENT} "Libpng not detected" )
ENDIF( LIBPNG_FOUND )
@@ -79,8 +79,8 @@ ENDIF( LIBPNG_FOUND )
## so we can't do this stuff
#find_package( FLTK REQUIRED )
#IF( FLTK_FOUND )
-# MESSAGE( ${INDENT} "FLTK_LIBRARIES=${FLTK_LIBRARIES}" )
-# MESSAGE( ${INDENT} "FLTK_INCLUDE_DIR=${FLTK_INCLUDE_DIR}" )
+# MESSAGE( STATUS ${INDENT} "FLTK_LIBRARIES=${FLTK_LIBRARIES}" )
+# MESSAGE( STATUS ${INDENT} "FLTK_INCLUDE_DIR=${FLTK_INCLUDE_DIR}" )
#ELSE( FLTK_FOUND )
# MESSAGE( FATAL_ERROR "FLTK not found, aborting" )
#ENDIF( FLTK_FOUND )
@@ -96,7 +96,7 @@ ENDIF( NOT FLTK_CONFIG)
EXECUTE_PROCESS ( COMMAND ${FLTK_CONFIG} --version
OUTPUT_VARIABLE FLTK_VERSION
OUTPUT_STRIP_TRAILING_WHITESPACE )
-MESSAGE( ${INDENT} "FLTK version ${FLTK_VERSION} detected via ${FLTK_CONFIG}")
+MESSAGE( STATUS ${INDENT} "FLTK version ${FLTK_VERSION} detected via ${FLTK_CONFIG}")
EXECUTE_PROCESS ( COMMAND ${FLTK_CONFIG} --use-gl --use-images --cxxflags
OUTPUT_VARIABLE FLTK_CFLAGS
OUTPUT_STRIP_TRAILING_WHITESPACE )
@@ -109,9 +109,9 @@ EXECUTE_PROCESS ( COMMAND ${FLTK_CONFIG} --use-gl --use-images --libs
# replace the newlines with semicolons
STRING(REGEX REPLACE "\n" ";" FLTK_LIBS "${FLTK_LIBS_NEWLINES}")
-MESSAGE( " FLTK_CFLAGS = ${FLTK_CFLAGS}")
-MESSAGE( " FLTK_LDFLAGS = ${FLTK_LDFLAGS}")
-MESSAGE( " FLTK_LIBS = ${FLTK_LIBS}")
+MESSAGE( STATUS " FLTK_CFLAGS = ${FLTK_CFLAGS}")
+MESSAGE( STATUS " FLTK_LDFLAGS = ${FLTK_LDFLAGS}")
+MESSAGE( STATUS " FLTK_LIBS = ${FLTK_LIBS}")
SET (FLTK_FOUND TRUE)
@@ -120,18 +120,18 @@ find_package( OpenGL REQUIRED )
IF( NOT OPENGL_GLU_FOUND )
MESSAGE( FATAL_ERROR "OpenGL GLU not found, aborting" )
ENDIF( NOT OPENGL_GLU_FOUND )
-MESSAGE( ${INDENT} "OpenGL GLU found at ${OPENGL_INCLUDE_DIR}" )
-MESSAGE( " OPENGL_INCLUDE_DIR = ${OPENGL_INCLUDE_DIR}")
-MESSAGE( " OPENGL_glu_LIBRARY = ${OPENGL_glu_LIBRARY}")
+MESSAGE( STATUS ${INDENT} "OpenGL GLU found at ${OPENGL_INCLUDE_DIR}" )
+MESSAGE( STATUS " OPENGL_INCLUDE_DIR = ${OPENGL_INCLUDE_DIR}")
+MESSAGE( STATUS " OPENGL_glu_LIBRARY = ${OPENGL_glu_LIBRARY}")
MESSAGE( STATUS "Checking for optional libraries..." )
pkg_search_module( PLAYER playercore>=2.1.0 )
IF( PLAYER_FOUND )
- MESSAGE( ${INDENT} "Player version ${PLAYER_VERSION} detected at ${PLAYER_PREFIX}" )
- MESSAGE( " PLAYER_CFLAGS: ${PLAYER_CFLAGS}" )
- MESSAGE( " PLAYER_LDFLAGS: ${PLAYER_LDFLAGS}" )
+ MESSAGE( STATUS ${INDENT} "Player version ${PLAYER_VERSION} detected at ${PLAYER_PREFIX}" )
+ MESSAGE( STATUS " PLAYER_CFLAGS: ${PLAYER_CFLAGS}" )
+ MESSAGE( STATUS " PLAYER_LDFLAGS: ${PLAYER_LDFLAGS}" )
ELSE( PLAYER_FOUND )
MESSAGE( ${INDENT} "Player not detected. If Player is installed but not detected, check your PKG_CONFIG_PATH." )
ENDIF( PLAYER_FOUND )

0 comments on commit 83ac4a9

Please sign in to comment.