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
sot-core
Commits
1679f3d6
Commit
1679f3d6
authored
Nov 17, 2020
by
Maximilien Naveau
Browse files
[tests] Fix the -ltracer not found by depencding on the exported target.
parent
9c0b1b3c
Pipeline
#12276
passed with stage
in 31 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/CMakeLists.txt
View file @
1679f3d6
...
...
@@ -17,9 +17,7 @@ SET(TEST_tsot_LIBS
gain-adaptive
)
LINK_DIRECTORIES
(
${
DYNAMIC_GRAPH_PLUGINDIR
}
)
SET
(
TEST_test_traces_EXT_LIBS tracer
)
SET
(
TEST_test_traces_EXT_LIBS dynamic-graph::tracer
)
SET
(
TEST_test_gain_LIBS
gain-adaptive feature-visual-point
)
...
...
@@ -109,8 +107,6 @@ IF(UNIX)
pluginabstract
${
CMAKE_DL_LIBS
}
)
ENDIF
(
UNIX
)
# find -ltracer. TODO: that's ugly, properly export a component for each plugin instead.
LINK_DIRECTORIES
(
"
${
dynamic-graph_DIR
}
/../../../
${
DYNAMIC_GRAPH_PLUGINDIR
}
"
)
FOREACH
(
path
${
tests
}
)
GET_FILENAME_COMPONENT
(
test
${
path
}
NAME
)
ADD_UNIT_TEST
(
${
test
}
${
path
}
.cpp
)
...
...
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