File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,13 @@ option( BUILD_SHARED_LIBS "Build shared libraries" ON )
27
27
28
28
# By default test-correctness is linked and tested against ACML library.
29
29
# However, test-correctness can instead use NETLIB as a reference library
30
- set (CORR_TEST_WITH_ACML ON CACHE BOOL "Use ACML library in correctness tests" )
30
+ # On Mac OSX systems, this must be set to OFF for the build to succeed (due to nesting of FindBLAS code)
31
+ if ( APPLE )
32
+ set (CORR_TEST_WITH_ACML OFF CACHE BOOL "Use ACML library in correctness tests" )
33
+ else ( )
34
+ message (STATUS "CORR_TEST_WITH_ACML set to ON" )
35
+ set (CORR_TEST_WITH_ACML ON CACHE BOOL "Use ACML library in correctness tests" )
36
+ endif ( )
31
37
32
38
if ( CMAKE_GENERATOR MATCHES "NMake" )
33
39
option ( NMAKE_COMPILE_VERBOSE "Print compile and link strings to the console" OFF )
You can’t perform that action at this time.
0 commit comments