You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run cmake --install . after building raven, it installs the raven executable, and all the dependent libraries in /usr/local/ even though we statically link those libraries into the raven executable. Instead, only the executable should be installed.
Notes to an implementor: I believe the solution runs along the lines of explicitly only installing raven,
install(TARGETS raven)
and then using this flag
set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY TRUE)
If it's necessary to install SOMETHING, an alternative is explicitly exclude the install step for things that shouldn't be installed, using the uninituitively named EXCLUDE_FROM_ALL option.
If you run
cmake --install .
after building raven, it installs the raven executable, and all the dependent libraries in /usr/local/ even though we statically link those libraries into the raven executable. Instead, only the executable should be installed.Example:
The text was updated successfully, but these errors were encountered: