[arrayfire] 206/408: Fixing a minor issue in ArrayFireConfigVersion.cmake file

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Sep 21 19:11:59 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/sid
in repository arrayfire.

commit 7900fcad784ec2f5be9a39f0c36f3e1d25d85cb8
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date:   Fri Aug 7 00:35:42 2015 -0400

    Fixing a minor issue in ArrayFireConfigVersion.cmake file
---
 ArrayFireConfigVersion.cmake.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ArrayFireConfigVersion.cmake.in b/ArrayFireConfigVersion.cmake.in
index 3e461b9..6ac209c 100644
--- a/ArrayFireConfigVersion.cmake.in
+++ b/ArrayFireConfigVersion.cmake.in
@@ -36,16 +36,16 @@
 # but only if the requested major version is the same as the current one.
 
 
-set(PACKAGE_VERSION "@AF_VERSION@@AF_VERSION_MINOR@")
+set(PACKAGE_VERSION "@AF_VERSION_MAJOR@@AF_VERSION_MINOR@")
 
 if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" )
   set(PACKAGE_VERSION_COMPATIBLE FALSE)
 else()
 
-  if("@AF_VERSION@@AF_VERSION_MINOR@" MATCHES "^([0-9]+)\\.")
+  if("@AF_VERSION_MAJOR@@AF_VERSION_MINOR@" MATCHES "^([0-9]+)\\.")
     set(ArrayFire_VERSION_MAJOR "${CMAKE_MATCH_1}")
   else()
-    set(ArrayFire_VERSION_MAJOR "@AF_VERSION@@AF_VERSION_MINOR@")
+    set(ArrayFire_VERSION_MAJOR "@AF_VERSION_MAJOR@@AF_VERSION_MINOR@")
   endif()
 
   if("${PACKAGE_FIND_VERSION_MAJOR}" STREQUAL "${ArrayFire_VERSION_MAJOR}")

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



More information about the debian-science-commits mailing list