-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error: install TARGETS given no ARCHIVE DESTINATION for static library target "randomx". #157
Comments
Thanks for reporting. I tested with cmake 3.14.4, where it works. I will revert the PR. |
Actually, the doc say that CMAKE_INSTALL_LIBDIR get defined if you include GNUInstallDirs in the CMake project. Ex:
https://cmake.org/cmake/help/latest/command/install.html It seems that one should not rely on those pre-defined variables unless you include GNUInstallDirs. Regards, |
Just tested, I added, bellow the cmake_minimum_required clause, include(GNUInstallDirs) Keeping the ${CMAKE_INSTALL_LIBDIR}, and it compiled. Regards, |
Please check #160 |
Good spot, indeed this was tested only on Gentoo while my knowledge of CMake are very limited |
Trying to compile under Ubuntu 18.04, using cmake 3.10.2, gcc 7.4.0
Output of CmakeError.log:
The text was updated successfully, but these errors were encountered: