cmake HAVE_CSTDDEF examples

ComputationalBiomechanicsLab/opensim-creator third_party/libosim/opensim-core/cmake/FindIPOPT.cmake :58

target_compile_definitions(ipopt INTERFACE HAVE_CSTDDEF)

keenon/nimblephysics cmake/DARTFindIPOPT.cmake :15

set_target_properties(IPOPT::ipopt PROPERTIES
    INTERFACE_INCLUDE_DIRECTORIES "${IPOPT_INCLUDE_DIRS}"
    INTERFACE_LINK_LIBRARIES "${IPOPT_LIBRARIES}"
    INTERFACE_COMPILE_DEFINITIONS HAVE_CSTDDEF
  )

dartsim/dart cmake/DARTFindIPOPT.cmake :15

set_target_properties(IPOPT::ipopt PROPERTIES
    INTERFACE_INCLUDE_DIRECTORIES "${IPOPT_INCLUDE_DIRS}"
    INTERFACE_LINK_LIBRARIES "${IPOPT_LIBRARIES}"
    INTERFACE_COMPILE_DEFINITIONS HAVE_CSTDDEF
  )

cnr-isti-vclab/meshlab unsupported/plugins_unsupported/external/CoMISo/cmake/FindIPOPT.cmake :53

add_definitions( -DHAVE_CSTDDEF )

opensim-org/opensim-core cmake/FindIPOPT.cmake :58

target_compile_definitions(ipopt INTERFACE HAVE_CSTDDEF)