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
Stack Of Tasks
pinocchio
Commits
b93aaf89
Unverified
Commit
b93aaf89
authored
Jun 18, 2020
by
Justin Carpentier
Committed by
GitHub
Jun 18, 2020
Browse files
Merge pull request #1247 from nim65s/devel
[CMake] add missing link to DL
parents
e02d274a
4c80dcf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
unittest/CMakeLists.txt
View file @
b93aaf89
...
...
@@ -149,7 +149,7 @@ MACRO(ADD_CPPADCG_UNIT_TEST name)
ADD_PINOCCHIO_UNIT_TEST
(
${
name
}
cppadcg
)
ADD_DEPENDENCIES
(
test-cppadcg test-cpp-
${
name
}
)
SET_PROPERTY
(
TARGET test-cpp-
${
name
}
PROPERTY CXX_STANDARD 11
)
TARGET_LINK_LIBRARIES
(
test-cpp-
${
name
}
PUBLIC
${
cppad_LIBRARY
}
)
TARGET_LINK_LIBRARIES
(
test-cpp-
${
name
}
PUBLIC
${
cppad_LIBRARY
}
${
CMAKE_DL_LIBS
}
)
ENDMACRO
()
IF
(
BUILD_WITH_AUTODIFF_SUPPORT
)
...
...
Write
Preview
Supports
Markdown
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