Commit f56753cc authored by Jan Möbius's avatar Jan Möbius

Make windows capable of choosing debug and release version of superlu

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9385 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 81a16433
......@@ -12,15 +12,17 @@ if (WIN32)
)
IF( CMAKE_BUILD_TYPE MATCHES Release )
find_library( SUPERLU_LIBRARY
find_library( SUPERLU_LIBRARY_RELEASE
SuperLU
PATHS "C:\\libs\\SuperLU_3.0\\lib" )
ELSE()
find_library( SUPERLU_LIBRARY
find_library( SUPERLU_LIBRARY_DEBUG
SuperLUd
PATHS "C:\\libs\\SuperLU_3.0\\lib" )
ENDIF()
set ( SUPERLU_LIBRARY "optimized;${SUPERLU_LIBRARY_RELEASE};debug;${SUPERLU_LIBRARY_DEBUG}")
ELSEIF(APPLE)
find_path(SUPERLU_INCLUDE_DIR NAMES supermatrix.h
......
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