diff options
-rw-r--r-- | CMakeLists.txt | 26 | ||||
-rw-r--r-- | cmake/modules/PopplerMacros.cmake | 4 |
2 files changed, 15 insertions, 15 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 299b4791..7f497fa2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -489,20 +489,20 @@ endif(ENABLE_CPP) message("Building Poppler with support for:") -show_end_message("splash output" ENABLE_SPLASH) -show_end_message("cairo output" CAIRO_FOUND) -show_end_message("abiword output" ENABLE_ABIWORD) -show_end_message("qt wrapper" QT3_FOUND) -show_end_message("qt4 wrapper" QT4_FOUND) -show_end_message("glib wrapper" GLIB_FOUND) +show_end_message_yesno("splash output" ENABLE_SPLASH) +show_end_message_yesno("cairo output" CAIRO_FOUND) +show_end_message_yesno("abiword output" ENABLE_ABIWORD) +show_end_message_yesno("qt wrapper" QT3_FOUND) +show_end_message_yesno("qt4 wrapper" QT4_FOUND) +show_end_message_yesno("glib wrapper" GLIB_FOUND) # message(" use gtk-doc: $enable_gtk_doc") # TODO -show_end_message("cpp wrapper" ENABLE_CPP) -show_end_message("use libjpeg" ENABLE_LIBJPEG) -show_end_message("use libpng" ENABLE_LIBPNG) -show_end_message("use zlib" ENABLE_ZLIB) -show_end_message("use libopenjpeg" LIBOPENJPEG_FOUND) -show_end_message("use cms" USE_CMS) -show_end_message("command line utils" ENABLE_UTILS) +show_end_message_yesno("cpp wrapper" ENABLE_CPP) +show_end_message_yesno("use libjpeg" ENABLE_LIBJPEG) +show_end_message_yesno("use libpng" ENABLE_LIBPNG) +show_end_message_yesno("use zlib" ENABLE_ZLIB) +show_end_message_yesno("use libopenjpeg" LIBOPENJPEG_FOUND) +show_end_message_yesno("use cms" USE_CMS) +show_end_message_yesno("command line utils" ENABLE_UTILS) if(USE_FIXEDPOINT AND USE_FLOAT) message("Warning: Single precision and fixed point options should not be enabled at the same time") diff --git a/cmake/modules/PopplerMacros.cmake b/cmake/modules/PopplerMacros.cmake index f8a0b64c..aa543116 100644 --- a/cmake/modules/PopplerMacros.cmake +++ b/cmake/modules/PopplerMacros.cmake @@ -49,7 +49,7 @@ macro(POPPLER_CREATE_INSTALL_PKGCONFIG generated_file install_location) endif(NOT WIN32) endmacro(POPPLER_CREATE_INSTALL_PKGCONFIG) -macro(SHOW_END_MESSAGE what enabled) +macro(SHOW_END_MESSAGE_YESNO what enabled) string(LENGTH ${what} length_what) math(EXPR left_char "20 - ${length_what}") set(blanks) @@ -63,7 +63,7 @@ macro(SHOW_END_MESSAGE what enabled) endif(${enabled}) message(" ${what}:${blanks} ${enabled_string}") -endmacro(SHOW_END_MESSAGE) +endmacro(SHOW_END_MESSAGE_YESNO) set(CMAKE_SYSTEM_INCLUDE_PATH ${CMAKE_SYSTEM_INCLUDE_PATH} |