Commit fb242e2c authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed header includes for superlu

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6163 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 5ba642ad
......@@ -3,12 +3,22 @@ if (SUPERLU_INCLUDE_DIR)
set(SUPERLU_FOUND TRUE)
else (SUPERLU_INCLUDE_DIR)
find_path(SUPERLU_INCLUDE_DIR NAMES supermatrix.h
if (WIN32)
find_path(SUPERLU_INCLUDE_DIR NAMES supermatrix.h
PREFIXES SRC
PATHS
"C:\\libs\\SuperLU_3.0"
${SUPERLU_INCLUDE_PATH}
)
ELSE(WIN32)
find_path(SUPERLU_INCLUDE_DIR NAMES supermatrix.h
PATHS
/usr/include/superlu
${SUPERLU_INCLUDE_PATH}
)
ENDIF()
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SUPERLU DEFAULT_MSG SUPERLU_INCLUDE_DIR )
......
Supports Markdown
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