Commit 1c7445ff authored by Max Lyon's avatar Max Lyon

find lapack on windows

parent 2a097b69
Pipeline #7643 failed with stages
in 27 seconds
......@@ -330,6 +330,8 @@ else ()
set (COMISO_CPLEX_CONFIG_FILE_SETTINGS "#define COMISO_CPLEX_AVAILABLE 0" )
endif ()
set(TMP_CMAKE_FIND_LIBRARY_PREFIXES "${CMAKE_FIND_LIBRARY_PREFIXES}")
set(CMAKE_FIND_LIBRARY_PREFIXES lib "") #Our blas librariy is called libblas.lib. Is there a better way to find it than this?
if (NEED_LAPACK)
FIND_PACKAGE(LAPACK)
if (LAPACK_FOUND)
......@@ -340,6 +342,7 @@ if (NEED_LAPACK)
message(STATUS "LAPACK not found!")
endif()
endif(NEED_LAPACK)
set(CMAKE_FIND_LIBRARY_PREFIXES "${TMP_CMAKE_FIND_LIBRARY_PREFIXES}")
include_directories (
..
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment