diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /kde-apps/kalzium/files | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'kde-apps/kalzium/files')
-rw-r--r-- | kde-apps/kalzium/files/kalzium-21.03.90-cmake.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/kde-apps/kalzium/files/kalzium-21.03.90-cmake.patch b/kde-apps/kalzium/files/kalzium-21.03.90-cmake.patch new file mode 100644 index 000000000000..4339fbf0ce1c --- /dev/null +++ b/kde-apps/kalzium/files/kalzium-21.03.90-cmake.patch @@ -0,0 +1,28 @@ +From 137a209512e632ccc7b297355a6b54301657c9ff Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Mon, 12 Apr 2021 00:02:48 +0200 +Subject: [PATCH] Drop brackets around OpenBabel3_FOUND + +It breaks when cmake is run with -DCMAKE_DISABLE_FIND_PACKAGE_OpenBabel3=ON. + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index abc8120b..a370e5da 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -27,7 +27,7 @@ find_package(Gettext REQUIRED) + find_package(PythonInterp REQUIRED) + find_package(PkgConfig) + find_package(OpenBabel3 3.1) +-if(NOT ${OpenBabel3_FOUND}) ++if(NOT OpenBabel3_FOUND) + find_package(OpenBabel2) + endif() + find_package(AvogadroLibs) +-- +2.31.1 + |