[ismrmrd] 143/281: copied Gadgetron FindIsmrmrd.cmake to Ismrmrd.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Jan 14 20:01:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to annotated tag ismrmrd0.5
in repository ismrmrd.

commit 5b64f36edf21ac5b651164c8d659d7732ddb2b2a
Author: Joseph Naegele <joseph.naegele at gmail.com>
Date:   Wed Apr 17 10:25:34 2013 -0400

    copied Gadgetron FindIsmrmrd.cmake to Ismrmrd.
---
 cmake/FindIsmrmrd.cmake | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/cmake/FindIsmrmrd.cmake b/cmake/FindIsmrmrd.cmake
index 3defaf4..07a3d3a 100644
--- a/cmake/FindIsmrmrd.cmake
+++ b/cmake/FindIsmrmrd.cmake
@@ -1,27 +1,27 @@
 # - Find ISMRMRRD
-#   ISMRMRD_FOUND        - True if ISMRMRD found.
-#   ISMRMRD_INCLUDE_DIR  - where to find ismrmrd.h, etc.
-#   ISMRMRD_LIBRARIES    - libismrmrd.so.
-#   ISMRMRD_XSD_LIBRARIES    - libismrmrd.so.
-#   ISMRMRD_SCHEMA_DIR   - Where to find ismrmrd.xsd
+#   ISMRMRD_FOUND            - true if an ISMRMRD installation is found.
+#   ISMRMRD_INCLUDE_DIR      - where to find ismrmrd.h, etc.
+#   ISMRMRD_LIBRARIES        - libismrmrd.so.
+#   ISMRMRD_XSD_INCLUDE_DIR  - folder containing ismrmrd.hxx (autogenerated from xsd schema)
+#   ISMRMRD_XSD_SOURCE       - full path to ismrmrd.cxx (autogenerated from xsd schema)
+#   ISMRMRD_SCHEMA_DIR       - where to find ismrmrd.xsd       
 
-FIND_PATH( ISMRMRD_INCLUDE_DIR ismrmrd.h
-    HINTS $ENV{ISMRMRD_HOME}
-    PATHS /usr/local/ /usr/include /usr/local/include
-    PATH_SUFFIXES ismrmrd ismrmrd/include include)
+FIND_PATH( ISMRMRD_INCLUDE_DIR ismrmrd.h 
+HINTS $ENV{ISMRMRD_HOME} PATHS /usr/local /usr PATH_SUFFIXES include ismrmrd ismrmrd/include)
 
-FIND_PATH( ISMRMRD_SCHEMA_DIR ismrmrd.xsd
-    HINTS $ENV{ISMRMRD_HOME}
-    PATHS /usr/local/ /usr/include /usr/local/include
-    PATH_SUFFIXES ismrmrd ismrmrd/schema schema)
+FIND_PATH( ISMRMRD_XSD_INCLUDE_DIR ismrmrd.hxx
+HINTS $ENV{ISMRMRD_HOME} PATHS /usr/local /usr PATH_SUFFIXES schema ismrmrd ismrmrd/schema)
+
+FIND_PATH( ISMRMRD_SCHEMA_DIR ismrmrd.xsd 
+HINTS $ENV{ISMRMRD_HOME} PATHS /usr/local /usr PATH_SUFFIXES schema ismrmrd ismrmrd/schema)
 
 FIND_LIBRARY( ISMRMRD_LIBRARIES
               NAMES "ismrmrd"
               PATHS  /usr/local/lib ${ISMRMRD_INCLUDE_DIR}/../lib /usr/lib )
 
-FIND_LIBRARY( ISMRMRD_XSD_LIBRARIES
-              NAMES "ismrmrd_xsd"
-              PATHS  /usr/local/lib ${ISMRMRD_INCLUDE_DIR}/../lib /usr/lib )
+FIND_FILE( ISMRMRD_XSD_SOURCE
+           NAMES "ismrmrd.cxx"
+           HINTS $ENV{ISMRMRD_HOME} PATHS /usr/local /usr PATH_SUFFIXES schema ismrmrd ismrmrd/schema)
 
 INCLUDE( "FindPackageHandleStandardArgs" )
 FIND_PACKAGE_HANDLE_STANDARD_ARGS( "Ismrmrd" DEFAULT_MSG ISMRMRD_INCLUDE_DIR ISMRMRD_LIBRARIES ISMRMRD_SCHEMA_DIR)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ismrmrd.git



More information about the debian-science-commits mailing list