diff options
Diffstat (limited to 'meta/recipes-extended/zypper/zypper/cmake.patch')
-rw-r--r-- | meta/recipes-extended/zypper/zypper/cmake.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/meta/recipes-extended/zypper/zypper/cmake.patch b/meta/recipes-extended/zypper/zypper/cmake.patch deleted file mode 100644 index 8312a97dc9..0000000000 --- a/meta/recipes-extended/zypper/zypper/cmake.patch +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | without the patch, /usr/include/rpm/ won't be added | ||
4 | in cppflags | ||
5 | |||
6 | 8/19/2010 - created by Qing He <qing.he@intel.com> | ||
7 | |||
8 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
9 | index 6b040a6..04a1595 100644 | ||
10 | --- a/CMakeLists.txt | ||
11 | +++ b/CMakeLists.txt | ||
12 | @@ -21,6 +21,10 @@ SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O2 -Wall -fstack-protector" ) | ||
13 | |||
14 | GENERATE_PACKAGING(${PACKAGE} ${VERSION}) | ||
15 | |||
16 | +FIND_PACKAGE(PkgConfig REQUIRED) | ||
17 | +PKG_CHECK_MODULES(RPM REQUIRED rpm) | ||
18 | +INCLUDE_DIRECTORIES( ${RPM_INCLUDE_DIRS} ) | ||
19 | + | ||
20 | FIND_PACKAGE( Zypp REQUIRED ) | ||
21 | IF( ZYPP_FOUND ) | ||
22 | INCLUDE_DIRECTORIES(${ZYPP_INCLUDE_DIR}) | ||