[clblas] 122/125: changed indentation of BUILD_TEST block to increase readability

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri May 29 06:57:28 UTC 2015


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

ghisvail-guest pushed a commit to branch master
in repository clblas.

commit 7a9e3df62945f3738baef3231b7c25e9518f8f28
Author: Lee Zamparo <zamparo at gmail.com>
Date:   Wed May 13 15:17:47 2015 -0400

    changed indentation of BUILD_TEST block to increase readability
---
 src/CMakeLists.txt | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bbb5ade..33eb18c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -127,14 +127,15 @@ endif()
 # TODO: maybe this could be written using the FindBLAS module in the future
 if( BUILD_TEST )
 	if(NOT CORR_TEST_WITH_ACML)
-	        if(APPLE)
-			find_library(BLAS_LIBRARIES Accelerate)
+	    if(APPLE)
+			message(STATUS "Trying to find Accelerate library")
+			find_library(BLAS_LIBRARIES Accelerate HINTS /System/Library/Frameworks/Accelerate.framework)
 		       	MARK_AS_ADVANCED(BLAS_LIBRARIES)
 		       	message(STATUS "Using Accelerate framework on Mac OS-X")
-	       	else()
+	    else()
 			find_package( Netlib COMPONENTS BLAS REQUIRED )
-              	endif()
-		else( )
+        endif()
+	else( )
 		# Find ACML BLAS implementation
 		# platform dependent ACML subdirectory
 		if (WIN32)

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



More information about the debian-science-commits mailing list