File fix-libyui-include-path.diff of Package sax3

Index: sax3-0.1/CMakeLists.txt
===================================================================
--- sax3-0.1.orig/CMakeLists.txt
+++ sax3-0.1/CMakeLists.txt
@@ -3,4 +3,9 @@ project(SaX3)
 
 find_package(Libyui)
 set(CMAKE_CXX_FLAGS "-Wall -pedantic -laugeas")
+
+set(LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})
+set(LIBYUI_INCLUDE_DIR "/usr/include/yui")
+set(LIBYUI_LIBRARY "yui")
+
 add_subdirectory(src)
Index: sax3-0.1/src/ui/CMakeLists.txt
===================================================================
--- sax3-0.1.orig/src/ui/CMakeLists.txt
+++ sax3-0.1/src/ui/CMakeLists.txt
@@ -5,5 +5,5 @@ include_directories(${LIBYUI_INCLUDE_DIR
 
 add_library(sax3-yuif SHARED yuifactory.cxx yui.cxx)
 
-install(TARGETS sax3-yuif LIBRARY DESTINATION lib${LIB_SUFFIX})
+install(TARGETS sax3-yuif LIBRARY DESTINATION ${LIB_INSTALL_DIR})
 target_link_libraries(sax3-yuif ${LIBYUI_INCLUDE_DIR})
openSUSE Build Service is sponsored by