Skip to content
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

Cmake should respect DLIB_INSTALL_DIR but it doesn't #6

Open
jhiemstrawisc opened this issue Feb 14, 2024 · 0 comments
Open

Cmake should respect DLIB_INSTALL_DIR but it doesn't #6

jhiemstrawisc opened this issue Feb 14, 2024 · 0 comments

Comments

@jhiemstrawisc
Copy link
Member

When trying to install LotMan with

mkdir build && cd build
cmake -DLIB_INSTALL_DIR=/usr/lib64 ..
make -j`nproc` install

the library should be installed to /usr/lib64. Instead, a warning is printed that LIB_INSTALL_DIR is not used by the project, and the library ends up in /usr/local/lib64.

A workaround for this is instead to install like so:

    mkdir build && cd build 
    cmake -DCMAKE_INSTALL_PREFIX=/usr .. 
    make -j`nproc` install

However, we should probably sort this out so that LIB_INSTALL_DIR is respected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant