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
Guilhem Saurel
ndcurves
Commits
0e6f1107
Commit
0e6f1107
authored
Dec 17, 2019
by
Pierre Fernbach
Browse files
[CMakelist] correctly call ADD_DEFINITION when using CURVES_WITH_PINOCCHIO_SUPPORT
parent
e6736f15
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
0e6f1107
...
...
@@ -25,6 +25,7 @@ IF(CURVES_WITH_PINOCCHIO_SUPPORT)
IF
(
NOT PINOCCHIO_FOUND
)
MESSAGE
(
FATAL_ERROR
"CURVES_WITH_PINOCCHIO_SUPPORT selected, but pinocchio has not been found"
)
ENDIF
(
NOT PINOCCHIO_FOUND
)
ADD_DEFINITIONS
(
-DCURVES_WITH_PINOCCHIO_SUPPORT
)
PKG_CONFIG_APPEND_CFLAGS
(
"-DCURVES_WITH_PINOCCHIO_SUPPORT"
)
ENDIF
(
CURVES_WITH_PINOCCHIO_SUPPORT
)
...
...
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