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
1c8792cc
Verified
Commit
1c8792cc
authored
Aug 25, 2020
by
Justin Carpentier
Browse files
cmake: move Boost search to dedicated place
parent
31988c62
Pipeline
#10858
failed with stage
in 89 minutes and 13 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
1c8792cc
...
...
@@ -124,11 +124,9 @@ IF(BUILD_WITH_CASADI_SUPPORT)
ENDIF
(
BUILD_WITH_CASADI_SUPPORT
)
SET
(
BOOST_REQUIRED_COMPONENTS filesystem serialization system
)
SET
(
BOOST_BUILD_COMPONENTS unit_test_framework
)
EXPORT_BOOST_DEFAULT_OPTIONS
()
ADD_PROJECT_DEPENDENCY
(
Boost REQUIRED COMPONENTS
${
BOOST_REQUIRED_COMPONENTS
}
)
FIND_PACKAGE
(
Boost COMPONENTS
${
BOOST_BUILD_COMPONENTS
}
)
IF
(
BUILD_PYTHON_INTERFACE
)
FINDPYTHON
()
...
...
unittest/CMakeLists.txt
View file @
1c8792cc
...
...
@@ -37,9 +37,8 @@ MACRO(ADD_OPTIONAL_COMPILE_DEPENDENCY PKG_CONFIG_STRING)
ADD_DEPENDENCY
(
0 1
${
PKG_CONFIG_STRING
}
"
${
PKG_CONFIG_DEBUG_STRING
}
"
)
ENDMACRO
()
# --- RULES -------------------------------------------------------------------
# --- RULES -------------------------------------------------------------------
# --- RULES -------------------------------------------------------------------
# Find Boost.UnitTestFramework
FIND_PACKAGE
(
Boost COMPONENTS unit_test_framework
)
# Math components
ADD_PINOCCHIO_UNIT_TEST
(
eigen-basic-op
)
...
...
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