Author: mlandres Date: Fri Dec 12 10:55:24 2008 New Revision: 11928 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11928&view=rev Log: use FIND_PACKAGE to locate Libyui Modified: trunk/dialogsolver/CMakeLists.txt trunk/dialogsolver/yast_plugin/CMakeLists.txt Modified: trunk/dialogsolver/CMakeLists.txt URL: http://svn.opensuse.org/viewcvs/zypp/trunk/dialogsolver/CMakeLists.txt?rev=11928&r1=11927&r2=11928&view=diff ============================================================================== --- trunk/dialogsolver/CMakeLists.txt (original) +++ trunk/dialogsolver/CMakeLists.txt Fri Dec 12 10:55:24 2008 @@ -16,6 +16,7 @@ FIND_PACKAGE(Qt4 REQUIRED) FIND_PACKAGE(Zypp REQUIRED) +FIND_PACKAGE(Libyui REQUIRED) FIND_PACKAGE(Gettext REQUIRED) IF (GETTEXT_FOUND) MESSAGE(STATUS "Found Gettext: ${GETTEXT_SOURCE}") Modified: trunk/dialogsolver/yast_plugin/CMakeLists.txt URL: http://svn.opensuse.org/viewcvs/zypp/trunk/dialogsolver/yast_plugin/CMakeLists.txt?rev=11928&r1=11927&r2=11928&view=diff ============================================================================== --- trunk/dialogsolver/yast_plugin/CMakeLists.txt (original) +++ trunk/dialogsolver/yast_plugin/CMakeLists.txt Fri Dec 12 10:55:24 2008 @@ -27,10 +27,9 @@ QT4_AUTOMOC(${qt_solver_dialog_plugin_SRCS}) INCLUDE_DIRECTORIES( ${QT_INCLUDES} ) -INCLUDE_DIRECTORIES( ${CMAKE_INSTALL_PREFIX}/include/YaST2/yui ) +INCLUDE_DIRECTORIES( ${LIBYUI_INCLUDE_DIR} ) INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR} ) INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) -INCLUDE_DIRECTORIES( ${CMAKE_INSTALL_PREFIX}/include/YaST2/yast2-qt ) INCLUDE_DIRECTORIES( ${ZYPP_INCLUDE_DIR} ) INCLUDE_DIRECTORIES( ../src ) -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org