Author: kkaempf Date: Tue Mar 31 15:54:13 2009 New Revision: 56505 URL: http://svn.opensuse.org/viewcvs/yast?rev=56505&view=rev Log: make it a bit more verbose on error Modified: trunk/devtools/devtools/cmake/modules/FindYast.cmake Modified: trunk/devtools/devtools/cmake/modules/FindYast.cmake URL: http://svn.opensuse.org/viewcvs/yast/trunk/devtools/devtools/cmake/modules/FindYast.cmake?rev=56505&r1=56504&r2=56505&view=diff ============================================================================== --- trunk/devtools/devtools/cmake/modules/FindYast.cmake (original) +++ trunk/devtools/devtools/cmake/modules/FindYast.cmake Tue Mar 31 15:54:13 2009 @@ -76,9 +76,16 @@ MESSAGE( STATUS " UI in ${YAST_PLUGIN_UI_LIBRARY}") set(YAST_FOUND TRUE) else(YAST_INCLUDE_DIR AND YAST_LIBRARY AND YAST_YCP_LIBRARY) - MESSAGE( STATUS "YaST2 not found") + if (NOT YAST_INCLUDE_DIR) + MESSAGE( STATUS "YaST2 include dir not found.") + endif (NOT YAST_INCLUDE_DIR) + if (NOT YAST_LIBRARY) + MESSAGE( STATUS "YaST2 library not found.") + endif (NOT YAST_LIBRARY) + if (NOT YAST_YCP_LIBRARY) + MESSAGE( STATUS "YaST2 YCP files not found.") + endif (NOT YAST_YCP_LIBRARY) endif(YAST_INCLUDE_DIR AND YAST_LIBRARY AND YAST_YCP_LIBRARY) MARK_AS_ADVANCED(YAST_INCLUDE_DIR YAST_LIBRARY YAST_YCP_LIBRARY YAST_PLUGIN_WFM_LIBRARY YAST_PLUGIN_SCR_LIBRARY YAST_PLUGIN_UI_LIBRARY YAST_PLUGIN_DIR YAST_IMAGE_DIR YAST_DATA_DIR YAST_YUI_LIBRARY ) - -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org