Skip to content

How to use DCMAKE_INSTALL_LIBDIR flag in cmake? #14

@kevinsmia1939

Description

@kevinsmia1939

Hello,

I am trying to package libmsym into openSUSE Leap and Tumbleweed.
I use cmake and gcc to compile the package.

I tried add the cmake flag as follow:
%cmake -DMSYM_BUILD_PYTHON:BOOL=ON
-DCMAKE_INSTALL_PREFIX=/usr/lib64

Which would place the library in /usr/lib64

However, the openSUSE's repository maintainer noticed that the flag is not correctly labeled, it should instead be
%cmake -DMSYM_BUILD_PYTHON:BOOL=ON
-DCMAKE_INSTALL_LIBDIR=/usr/lib64

For placing library in /usr/lib64
But -DCMAKE_INSTALL_LIBDIR don't seems to do anything.

Thanks.
https://build.opensuse.org/request/show/795267

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions