diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /sci-libs/votca-tools/files/197.patch | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'sci-libs/votca-tools/files/197.patch')
-rw-r--r-- | sci-libs/votca-tools/files/197.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sci-libs/votca-tools/files/197.patch b/sci-libs/votca-tools/files/197.patch new file mode 100644 index 000000000000..a0e4245c7635 --- /dev/null +++ b/sci-libs/votca-tools/files/197.patch @@ -0,0 +1,27 @@ +From 32c497808d3ff52a25cd0367c602f57577d56352 Mon Sep 17 00:00:00 2001 +From: Christoph Junghans <junghans@votca.org> +Date: Thu, 5 Dec 2019 07:16:02 -0700 +Subject: [PATCH] VOTCA_TOOLSConfig.cmake.in: only add VOTCA::votca_compare + once + +--- + src/libtools/VOTCA_TOOLSConfig.cmake.in | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/src/libtools/VOTCA_TOOLSConfig.cmake.in b/src/libtools/VOTCA_TOOLSConfig.cmake.in +index c69c0426..b129913f 100644 +--- a/src/libtools/VOTCA_TOOLSConfig.cmake.in ++++ b/src/libtools/VOTCA_TOOLSConfig.cmake.in +@@ -2,8 +2,10 @@ include(CMakeFindDependencyMacro) + find_dependency(Eigen3 NO_MODULE) + find_dependency(Boost 1.53.0 REQUIRED COMPONENTS program_options) + include("${CMAKE_CURRENT_LIST_DIR}/VOTCA_TOOLS_Targets.cmake") +-add_executable(VOTCA::votca_compare IMPORTED) +-set_property(TARGET VOTCA::votca_compare PROPERTY IMPORTED_LOCATION "@CMAKE_INSTALL_FULL_BINDIR@/votca_compare") ++if(NOT TARGET VOTCA::votca_compare) ++ add_executable(VOTCA::votca_compare IMPORTED) ++ set_property(TARGET VOTCA::votca_compare PROPERTY IMPORTED_LOCATION "@CMAKE_INSTALL_FULL_BINDIR@/votca_compare") ++endif() + if(@MKL_FOUND@) + if(NOT TARGET MKL::MKL) + add_library(MKL::MKL UNKNOWN IMPORTED) |