CMakeLists.txt 426 Bytes
Newer Older
1
2
3
4
#
# Copyright (c) 2020 INRIA
#

5
IF(CPPADCG_FOUND AND BUILD_WITH_CODEGEN_SUPPORT AND BUILD_WITH_URDF_SUPPORT)
6
  INCLUDE_DIRECTORIES(${cppadcg_INCLUDE_DIR})
7
8
  ADD_PINOCCHIO_CPP_EXAMPLE(codegen-crba)
  SET_PROPERTY(TARGET example-cpp-codegen-crba PROPERTY CXX_STANDARD 11) 
9
  TARGET_LINK_LIBRARIES(example-cpp-codegen-crba PUBLIC ${CMAKE_DL_LIBS})
10
ENDIF(CPPADCG_FOUND AND BUILD_WITH_CODEGEN_SUPPORT AND BUILD_WITH_URDF_SUPPORT)
11