Commit 01b46fc8 authored by Francois Keith's avatar Francois Keith
Browse files

Correct the link with lapack

Because of _dgesvd_, the module wrap needs to link with lapack
parent 54e2ecec
......@@ -17,6 +17,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
INCLUDE(cmake/base.cmake)
INCLUDE(cmake/boost.cmake)
INCLUDE(cmake/lapack.cmake)
INCLUDE(cmake/pthread.cmake)
INCLUDE(cmake/cpack.cmake)
include(cmake/header.cmake)
......@@ -47,6 +48,7 @@ PKG_CONFIG_APPEND_LIBS("dynamic-graph-python")
# Search for Boost.
SEARCH_FOR_BOOST()
SEARCH_FOR_LAPACK()
ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(include)
......
......@@ -85,7 +85,7 @@ ADD_LIBRARY(${PYTHON_MODULE}
SET_TARGET_PROPERTIES(${PYTHON_MODULE}
PROPERTIES PREFIX "")
TARGET_LINK_LIBRARIES(${PYTHON_MODULE} ${DYNAMIC_GRAPH_LIBRARIES})
TARGET_LINK_LIBRARIES(${PYTHON_MODULE} ${DYNAMIC_GRAPH_LIBRARIES} ${LAPACK_LIBRARIES})
CONFIG_FILES(link-to-python.hh)
INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_PATH}
......
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