Salome HOME
Ensure cmake_build_type is used in SALOME 9.12.0
[tools/sat_salome.git] / products / patches / openturns-1.20.1.0001.patch
1 diff -Naur openturns-1.20.1_ref/openturns-1.20.1/CMakeLists.txt  openturns-1.20.1_dev/openturns-1.20.1/CMakeLists.txt
2 --- openturns-1.20.1_ref/openturns-1.20.1/CMakeLists.txt        2023-03-31 13:11:11.000000000 +0200
3 +++ openturns-1.20.1_dev/openturns-1.20.1/CMakeLists.txt        2023-04-04 10:35:09.815050125 +0200
4 @@ -154,6 +154,10 @@
5    endif ()
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)