add cmake macros for ipopt