Commit 0e6f1107 authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

[CMakelist] correctly call ADD_DEFINITION when using CURVES_WITH_PINOCCHIO_SUPPORT

parent e6736f15
...@@ -25,6 +25,7 @@ IF(CURVES_WITH_PINOCCHIO_SUPPORT) ...@@ -25,6 +25,7 @@ IF(CURVES_WITH_PINOCCHIO_SUPPORT)
IF(NOT PINOCCHIO_FOUND) IF(NOT PINOCCHIO_FOUND)
MESSAGE(FATAL_ERROR "CURVES_WITH_PINOCCHIO_SUPPORT selected, but pinocchio has not been found") MESSAGE(FATAL_ERROR "CURVES_WITH_PINOCCHIO_SUPPORT selected, but pinocchio has not been found")
ENDIF(NOT PINOCCHIO_FOUND) ENDIF(NOT PINOCCHIO_FOUND)
ADD_DEFINITIONS(-DCURVES_WITH_PINOCCHIO_SUPPORT)
PKG_CONFIG_APPEND_CFLAGS("-DCURVES_WITH_PINOCCHIO_SUPPORT") PKG_CONFIG_APPEND_CFLAGS("-DCURVES_WITH_PINOCCHIO_SUPPORT")
ENDIF(CURVES_WITH_PINOCCHIO_SUPPORT) ENDIF(CURVES_WITH_PINOCCHIO_SUPPORT)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment