-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Installation issue under linux #700
Comments
I can confirm. |
Hi guys, I agree with your both. We must find a working solution for all cases (with less cmake code). |
May be if defined LIB_INSTALL_DIR then blank CMAKE_LIBRARY_PATH? |
In my defence, I will say that I encounter a situation when CMAKE_LIBRARY_PATH is a list of paths. That broke all install command completely. |
Use CMAKE_INSTALL_PREFIX for install paths
I encountered the same issue |
Hello,
stlink installation under Linux (Debian 9) is broken since modifications for #695: libstlink.so (and others) installs in /usr/local/lib/lib instead of /usr/local/lib
It seems that the error comes from these instructions:
if(IS_DIRECTORY CMAKE_LIBRARY_PATH)
else()
set(CMAKE_LIBRARY_PATH "lib")
endif()
If I change it to
if(IS_DIRECTORY CMAKE_LIBRARY_PATH)
else()
set(CMAKE_LIBRARY_PATH "")
endif()
then it works again.
I can create a PR if you want, but I cannot test the modification under other OS.
The text was updated successfully, but these errors were encountered: