irstlm-team / irstlm

GNU Lesser General Public License v2.1
77 stars 33 forks source link

EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH #28

Open ryandesign opened 1 year ago

ryandesign commented 1 year ago

src/CMakeLists.txt says:

# Set output directory
SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_INSTALL_PREFIX}/bin)
SET(LIBRARY_OUTPUT_PATH ${CMAKE_INSTALL_PREFIX}/lib)

This causes make to write the executables (compile-lm, cswa, dict, dtsel, interpolate-lm, ngt, plsa, prune-lm, quantize-lm, score-lm, tlm, verify-caching) and library (libirstlm.a) into the install prefix.

Please don't do that. You shouldn't be putting anything into the install prefix until I run make install.

This may also be the cause of #14.