Skip to content

Commit 7a9e3df

Browse files
committed
changed indentation of BUILD_TEST block to increase readability
1 parent dc304d8 commit 7a9e3df

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/CMakeLists.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,15 @@ endif()
127127
# TODO: maybe this could be written using the FindBLAS module in the future
128128
if( BUILD_TEST )
129129
if(NOT CORR_TEST_WITH_ACML)
130-
if(APPLE)
131-
find_library(BLAS_LIBRARIES Accelerate)
130+
if(APPLE)
131+
message(STATUS "Trying to find Accelerate library")
132+
find_library(BLAS_LIBRARIES Accelerate HINTS /System/Library/Frameworks/Accelerate.framework)
132133
MARK_AS_ADVANCED(BLAS_LIBRARIES)
133134
message(STATUS "Using Accelerate framework on Mac OS-X")
134-
else()
135+
else()
135136
find_package( Netlib COMPONENTS BLAS REQUIRED )
136-
endif()
137-
else( )
137+
endif()
138+
else( )
138139
# Find ACML BLAS implementation
139140
# platform dependent ACML subdirectory
140141
if (WIN32)

0 commit comments

Comments
 (0)