Salome HOME
bos #41564 [CEA] openturns 1.22
[tools/sat_salome.git] / products / patches / openturns-1.22.0001.patch
1 diff -Naur -Naur openturns/openturns-1.22/CMakeLists.txt openturns_dev/openturns-1.22/CMakeLists.txt
2 --- openturns/openturns-1.22/CMakeLists.txt     2024-04-03 11:52:49.000000000 +0000
3 +++ openturns_dev/openturns-1.22/CMakeLists.txt 2024-04-05 08:17:28.143471039 +0000
4 @@ -129,6 +129,10 @@
5    find_package (LAPACK REQUIRED)
6  endif ()
7  list (APPEND OPENTURNS_PRIVATE_LIBRARIES ${LAPACK_LIBRARIES})
8 +IF (DEFINED CBLAS_LIBRARIES)
9 +  MESSAGE(STATUS "CBLAS_LIBRARIES is defined... adding to the list of libraries ${CBLAS_LIBRARIES}")
10 +  LIST (APPEND OPENTURNS_PRIVATE_LIBRARIES ${CBLAS_LIBRARIES})
11 +ENDIF()
12  
13  if (USE_SPECTRA)
14    find_package (Spectra 1.0 CONFIG)