Commit 0d0fa66c authored by Francois Keith's avatar Francois Keith

Update lib installation path (multiarch portability).

parent 6783003e
......@@ -42,14 +42,14 @@ SET_TARGET_PROPERTIES(${LIBRARY_NAME} PROPERTIES SOVERSION ${PROJECT_VERSION})
PKG_CONFIG_USE_DEPENDENCY(${LIBRARY_NAME} dynamic-graph)
INSTALL(TARGETS ${LIBRARY_NAME}
DESTINATION lib)
DESTINATION ${CMAKE_INSTALL_LIBDIR})
SET(EXECUTABLE_NAME dg-python)
ADD_EXECUTABLE(${EXECUTABLE_NAME} dg-python.cc)
TARGET_LINK_LIBRARIES(${EXECUTABLE_NAME}
${LIBRARY_NAME}
)
INSTALL(TARGETS dg-python DESTINATION bin)
INSTALL(TARGETS dg-python DESTINATION ${CMAKE_INSTALL_BINDIR})
#
#
......
Markdown is supported
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