Commit 2704ca50 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

cmakelists

parent 265b9dab
......@@ -40,7 +40,14 @@ include_directories(${PROJECT_SOURCE_DIR}superlu/include)
# Link libraries
link_directories(${PROJECT_SOURCE_DIR}/superlu/lib)
if (UNIX AND NOT APPLE)
set(SUPERLU superlu_4.3)
elseif (APPLE)
set(SUPERLU superlu_4.3_mac10.10)
elseif (WIN32)
set(SUPERLU superlu_4.3_cygwin)
endif ()
#---------------------------------------------------------------------------------------#
# Subdirectories
add_subdirectory(src)
add_subdirectory(src)
\ No newline at end of file
......@@ -31,10 +31,9 @@ set(src Identify.C
SVD.C
LIB_PS_Solver.C)
set(lib_ps
LIB_PS/LIB_PS.C
LIB_PS/LIB_PS_Matrix.C
LIB_PS/LIB_PS_Parallel.C)
set(lib_ps LIB_PS/LIB_PS.C
LIB_PS/LIB_PS_Matrix.C
LIB_PS/LIB_PS_Parallel.C)
add_library(SRC STATIC ${src})
add_library(LIB_PS STATIC ${lib_ps})
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