Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
dynamic-graph-python
Commits
6dbfa9c7
Commit
6dbfa9c7
authored
May 27, 2016
by
Rohan Budhiraja
Browse files
[cmake] update linkings for shared library and python modules
parent
4e943de6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
6dbfa9c7
...
...
@@ -39,6 +39,7 @@ TARGET_LINK_LIBRARIES(${LIBRARY_NAME}
IF
(
UNIX
)
TARGET_LINK_LIBRARIES
(
${
LIBRARY_NAME
}
${
Boost_LIBRARIES
}
)
TARGET_LINK_LIBRARIES
(
${
LIBRARY_NAME
}
${
CMAKE_DL_LIBS
}
)
ENDIF
(
UNIX
)
SET_TARGET_PROPERTIES
(
${
LIBRARY_NAME
}
PROPERTIES SOVERSION
${
PROJECT_VERSION
}
)
...
...
@@ -79,7 +80,7 @@ SET_TARGET_PROPERTIES(${PYTHON_MODULE}
PROPERTIES PREFIX
""
)
PKG_CONFIG_USE_DEPENDENCY
(
${
PYTHON_MODULE
}
dynamic-graph
)
TARGET_LINK_LIBRARIES
(
${
PYTHON_MODULE
}
${
PYTHON_LIBRARY
}
)
#
TARGET_LINK_LIBRARIES(${PYTHON_MODULE} ${PYTHON_LIBRARY})
CONFIG_FILES
(
link-to-python.hh
)
INCLUDE_DIRECTORIES
(
${
PYTHON_INCLUDE_PATH
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment