changed the CMakeFiles after enabling findPackage(IPOPT)