OptimoJoe / Optizelle

Optizelle [op-tuh-zel] is an open source software library designed to solve general purpose nonlinear optimization problems.
www.optimojoe.com/products/optizelle
63 stars 13 forks source link

Fix third party library installation on Windows #32

Closed josyoun closed 8 years ago

josyoun commented 9 years ago

On Windows, CMake puts all of the dlls in the bin directory and not in lib. Since Windows automatically looks in the executable directory for any dlls, this makes sense. Unfortunately, this messes up the rest of my installation since I'm used to libraries being in lib and not bin. Really, I don't want two different build setups for Windows and POSIX systems. In any case, what's supposed to happen now is that CMake should install the third party libraries locally in the build directory and then move the dlls from bin to lib. Then, everything should work. Unfortunately, that magic is using the old directory name of installed instead of thirdparty. This needs to be fixed.

josyoun commented 8 years ago

Fixed with commit 1fd39f480d06e4228baf1c0dec4eacd24d095b46.