Skip to content

Compillation with macports #1

Closed

Description

@satmandu

I had to run this to get this to work with MacPorts, since a portfile doesn't exist yet for this. (MacPorts uses the install prefix of /opt/local. )

mkdir builddir
cd builddir
cmake -DCMAKE_INSTALL_PREFIX=/opt/local \
-DCMAKE_INSTALL_PKGCONFIGDIR=/opt/local/lib/pkgconfig \
-DCMAKE_C_COMPILER=/usr/bin/cc \
-DCMAKE_CXX_COMPILER=/usr/bin/c++ \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=OFF \
-G Ninja \
..
ninja
sudo ninja install

Activity

  1. bugaevc commented on Nov 10, 2021

    @bugaevc
    Member

    How is this an issue? 🙂

  2. satmandu commented on Nov 10, 2021

    @satmandu
    Author

    I didn't have a place to put it in case anyone else wants to do the same...

  3. locked and limited conversation to collaborators on Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions