Commit 131ccad3 authored by Matthias Möller's avatar Matthias Möller

lapack required just for windows

refs #2479

git-svn-id: http://www.openflipper.org/svnrepo/CoMISo/trunk@284 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent 067129e2
......@@ -71,7 +71,9 @@ if (GMM_FOUND)
set (COMISO_GMM_CONFIG_FILE_SETTINGS "#define COMISO_GMM_AVAILABLE 1" )
list( APPEND COMISO_INCLUDE_DIRECTORIES ${GMM_INCLUDE_DIR} )
list (APPEND NEED_LAPACK "GMM")
set (LAPACK_REQUIRED ON)
if (WIN32)
set (LAPACK_REQUIRED ON)
endif()
else()
set (COMISO_GMM_CONFIG_FILE_SETTINGS "#define COMISO_GMM_AVAILABLE 0" )
message (FATAL_ERROR "GMM not found!")
......@@ -328,9 +330,9 @@ if (NEED_LAPACK)
list( APPEND COMISO_LINK_LIBRARIES ${LAPACK_LIBRARIES} )
else()
if (LAPACK_REQUIRED)
message (FATAL_ERROR "LAPACK not found!")
message (FATAL_ERROR "LAPACK not found! LAPACK is required.")
else()
message(STATUS "LAPACK not found! Required by ${NEED_LAPACK}")
message(STATUS "LAPACK not found!")
endif()
endif()
endif(NEED_LAPACK)
......
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