Commit 54e2ecec authored by Francois Keith's avatar Francois Keith
Browse files

Correct the link with boost libraries

parent 4b107839
......@@ -29,7 +29,7 @@ IF (NOT ${PYTHONINTERP_FOUND} STREQUAL TRUE)
ENDIF (NOT ${PYTHONINTERP_FOUND} STREQUAL TRUE)
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})
# provide path to library libdynamic-graph.so
LINK_DIRECTORIES(${DYNAMIC_GRAPH_LIBRARY_DIRS})
ADD_DEFINITIONS(${DYNAMIC_GRAPH_CFLAGS})
......@@ -57,7 +57,7 @@ INSTALL(TARGETS ${LIBRARY_NAME}
SET(EXECUTABLE_NAME dg-python)
ADD_EXECUTABLE(${EXECUTABLE_NAME} dg-python.cc)
TARGET_LINK_LIBRARIES(${EXECUTABLE_NAME}
${LIBRARY_NAME}
${LIBRARY_NAME} ${Boost_LIBRARIES}
)
INSTALL(TARGETS dg-python DESTINATION bin)
......
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