update casacore patch
I think they slightly changed the CMakeLists in casacore, this patch should work with the new one - is that ok?
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0801faacd..96d23e77b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -352,8 +352,18 @@
find_package (BISON REQUIRED)
endif (_usebison STREQUAL YES)
if (_uselapack STREQUAL YES)
- find_package (BLAS REQUIRED)
- find_package (LAPACK REQUIRED)
+ if(DEFINED ENV{BLAS_LIBS})
+ set(BLAS_FOUND YES)
+ set(BLAS_LIBRARIES $ENV{BLAS_LIBS})
+ else()
+ find_package (BLAS REQUIRED)
+ endif()
+ if(DEFINED ENV{LAPACK_LIBS})
+ set(LAPACK_FOUND YES)
+ set(LAPACK_LIBRARIES $ENV{LAPACK_LIBS})
+ else()
+ find_package (LAPACK REQUIRED)
+ endif()
if (FFTW3_DISABLE_THREADS)
find_package (FFTW3 COMPONENTS single double REQUIRED)
else()