moses-smt / mgiza

A word alignment tool based on famous GIZA++, extended to support multi-threading, resume training and incremental training.
161 stars 60 forks source link

Allow to customize runtime and library destination of install command #24

Closed zuny26 closed 3 years ago

zuny26 commented 3 years ago

Hi! I have added CMAKE_INSTALL_BINDIR and CMAKE_INSTALL_LIBDIR variables to cmake to make it possible to change RUNTIME DESTINATION and LIBRARY DESTINATION of the install command. Having these paths hard-coded is a bit inconvenient when installing mgiza in a standard location. In any case, the default behavior when not specifying these variables is the same as before, i.e. runtime destination = "." and library destination = "lib".

hieuhoang commented 3 years ago

thanks!