1 diff -Naur cminpack-1.3.6_ref/CMakeLists.txt cminpack-1.3.6_dev/CMakeLists.txt
2 --- cminpack-1.3.6_ref/CMakeLists.txt 2017-02-24 16:09:31.000000000 +0100
3 +++ cminpack-1.3.6_dev/CMakeLists.txt 2023-05-22 09:19:37.416506078 +0200
6 # Link with a BLAS library if requested
8 + SET(BLAS_ROOT_DIR $ENV{BLAS_ROOT_DIR} CACHE PATH "Path to the BLAS.")
9 + SET(BLAS_INCLUDE_DIRS "${BLAS_ROOT_DIR}/include/openblas")
10 if (NOT BUILD_SHARED_LIBS)
14 target_link_libraries(cminpack PUBLIC ${BLAS_LIBRARIES})
15 set_target_properties(cminpack PROPERTIES LINK_FLAGS "${BLAS_LINKER_FLAGS}")
16 target_compile_definitions(cminpack PUBLIC -DUSE_CBLAS)
17 + include_directories(${BLAS_ROOT_DIR}/include/openblas)
22 set_target_properties(cminpack PROPERTIES VERSION ${CMINPACK_VERSION} SOVERSION ${CMINPACK_SOVERSION})
24 add_subdirectory (cmake)
25 -add_subdirectory (examples)
26 \ Pas de fin de ligne à la fin du fichier
27 +add_subdirectory (examples)