Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
sot-hrp2
Commits
a05d3e93
Commit
a05d3e93
authored
Oct 22, 2012
by
Florent Lamiraux
Committed by
Florent Lamiraux florent@laas.fr
Oct 22, 2012
Browse files
Fix link with dynamics.so
Do not hard code prefix of dependency, use pkg config.
parent
63f916d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
a05d3e93
...
...
@@ -29,12 +29,6 @@ FUNCTION(COMPILE_PLUGIN NAME SOURCES ENTITIES)
PKG_CONFIG_USE_DEPENDENCY
(
${
NAME
}
sot-core
)
PKG_CONFIG_USE_DEPENDENCY
(
${
NAME
}
jrl-dynamics
)
IF
(
WIN32
)
TARGET_LINK_LIBRARIES
(
${
NAME
}
${
CMAKE_INSTALL_PREFIX
}
/lib/plugin/dynamic
${
CMAKE_LINK_LIBRARY_SUFFIX
}
)
ELSE
(
WIN32
)
TARGET_LINK_LIBRARIES
(
${
NAME
}
${
CMAKE_INSTALL_PREFIX
}
/lib/plugin/dynamic
${
CMAKE_SHARED_LIBRARY_SUFFIX
}
)
ENDIF
(
WIN32
)
INSTALL
(
TARGETS
${
NAME
}
DESTINATION lib/plugin
)
# build python submodule
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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