[liggghts] 01/04: Specify components for VTK. (Closes: #765106).
Anton Gladky
gladk at moszumanska.debian.org
Wed Oct 15 16:57:24 UTC 2014
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository liggghts.
commit 57ea03a9497dde2817b28483a26fcc25cc8eca71
Author: Anton Gladky <gladk at debian.org>
Date: Tue Oct 14 22:55:20 2014 +0200
Specify components for VTK. (Closes: #765106).
---
debian/patches/01_add_cmake_files.patch | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/debian/patches/01_add_cmake_files.patch b/debian/patches/01_add_cmake_files.patch
index 0d0bf46..474bd2d 100644
--- a/debian/patches/01_add_cmake_files.patch
+++ b/debian/patches/01_add_cmake_files.patch
@@ -2,10 +2,10 @@ Description: adds cmake files. Will hopefully be accepted by upstream.
Author: Anton Gladky <gladk at debian.org>
Last-Update: 2014-03-04
-Index: LIGGGHTS-PUBLIC-3.0.3/CMakeLists.txt
+Index: liggghts/CMakeLists.txt
===================================================================
--- /dev/null
-+++ LIGGGHTS-PUBLIC-3.0.3/CMakeLists.txt
++++ liggghts/CMakeLists.txt
@@ -0,0 +1,86 @@
+# ENABLE_PACKAGE: enable PACKAGE-modules (OFF by default)
+# ENABLE_PACKAGEUSER: enable PACKAGEUSER-modules (OFF by default)
@@ -30,7 +30,7 @@ Index: LIGGGHTS-PUBLIC-3.0.3/CMakeLists.txt
+INCLUDE(FindVTK)
+INCLUDE(GNUInstallDirs)
+INCLUDE(FindPythonLibs)
-+FIND_PACKAGE(VTK)
++FIND_PACKAGE(VTK COMPONENTS vtkCommonCore vtkIOImage)
+IF(VTK_FOUND)
+ IF(${VTK_MAJOR_VERSION} EQUAL 6)
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DLAMMPS_VTK6 -DLAMMPS_VTK")
@@ -93,10 +93,10 @@ Index: LIGGGHTS-PUBLIC-3.0.3/CMakeLists.txt
+INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src)
+
+ADD_SUBDIRECTORY("${CMAKE_SOURCE_DIR}/src")
-Index: LIGGGHTS-PUBLIC-3.0.3/src/CMakeLists.txt
+Index: liggghts/src/CMakeLists.txt
===================================================================
---- LIGGGHTS-PUBLIC-3.0.3.orig/src/CMakeLists.txt
-+++ LIGGGHTS-PUBLIC-3.0.3/src/CMakeLists.txt
+--- liggghts.orig/src/CMakeLists.txt
++++ liggghts/src/CMakeLists.txt
@@ -1,80 +1,57 @@
-# ENABLE_PACKAGE: enable PACKAGE-modules (OFF by default)
-# ENABLE_PACKAGEUSER: enable PACKAGEUSER-modules (OFF by default)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/liggghts.git
More information about the debian-science-commits
mailing list