PSOPT / psopt

PSOPT Optimal Control Software
GNU Lesser General Public License v2.1
193 stars 75 forks source link

adolc causes less pain now #20

Closed schulz0r closed 3 years ago

schulz0r commented 3 years ago

Hello,

I created a Findadolc.cmake file which takes care or AdolC. The download routine for AdolC has been moved there, so that the root CMakeList looks cleaner. I noticed that CMake downloads AdolC every time it is called, even if it is already available in the build directory. This caused an error and wasted time. That is now a thing of the past.

If you installed AdolC on your machine, make sure it is not installed into the /lib64 directory as CMake expects it to be in /lib (without 64).

Last, I added the compile definition -DHAVE_CSTDDEF because IPOPT won't work without that.