Skip to content
Snippets Groups Projects
Commit 8a1adbb3 authored by Vladimír Ulman's avatar Vladimír Ulman
Browse files

Adjusted to obtain working Lapack-supported environment.

parent b232a28e
No related branches found
No related tags found
No related merge requests found
...@@ -70,12 +70,6 @@ SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Xlinker -defsym -Xlinker ...@@ -70,12 +70,6 @@ SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Xlinker -defsym -Xlinker
# REQUIRED LIBS # REQUIRED LIBS
#--------------- #---------------
# SAMPLE:
#find_path(INC_I3D "i3d/image3d.h")
#include_directories(${INC_I3D} ${INC_I3D}/i3d)
#find_library(LIB_I3DCORE "i3dcore")
#set(LIBS ${LIBS} ${LIB_I3DALGO} ${LIB_I3DCORE})
# OpenGL... # OpenGL...
find_path(INC_GLUT "GL/glut.h") find_path(INC_GLUT "GL/glut.h")
include_directories(${INC_GLUT}) include_directories(${INC_GLUT})
...@@ -97,16 +91,19 @@ find_library(LIB_GLUT "glut") ...@@ -97,16 +91,19 @@ find_library(LIB_GLUT "glut")
set(LIBS ${LIBS} ${LIB_OPENGL} ${LIB_GLU} ${LIB_GLUT} ${LIB_GLEW}) set(LIBS ${LIBS} ${LIB_OPENGL} ${LIB_GLU} ${LIB_GLUT} ${LIB_GLEW})
# GSL library # GSL library
find_library(LIB_GSL gsl)
set(LIBS ${LIBS} ${LIB_GSL})
find_library(LIB_GSLCBLAS gslcblas)
set(LIBS ${LIBS} ${LIB_GSLCBLAS})
find_path(INC_GSL "gsl/gsl_randist.h") find_path(INC_GSL "gsl/gsl_randist.h")
include_directories(${INC_GSL}) include_directories(${INC_GSL})
find_library(LIB_GSL gsl)
find_library(LIB_GSLCBLAS gslcblas)
set(LIBS ${LIBS} ${LIB_GSL} ${LIB_GSLCBLAS})
# LAPACK library # LAPACK library
find_library(LIB_LAPACK lapack) find_path(INC_LAPACK "lapacke.h")
set(LIBS ${LIBS} ${LIB_LAPACK}) include_directories(${INC_LAPACK})
find_library(LIB_BLAS blas)
#find_library(LIB_LAPACK lapack)
find_library(LIB_LAPACK liblapack.so.3)
set(LIBS ${LIBS} ${LIB_LAPACK} ${LIB_BLAS})
# i3dlibs libraries # i3dlibs libraries
find_path(INC_I3D "i3d/image3d.h") find_path(INC_I3D "i3d/image3d.h")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment