Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
ea5d2ce4
Commit
ea5d2ce4
authored
Jul 16, 2012
by
Vicent Martí
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #823 from schu/cmake-install-dir
libgit2.pc.in: also switch to LIB_INSTALL_DIR
parents
d4b57351
77ace82d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
README.md
+1
-1
libgit2.pc.in
+1
-1
packaging/rpm/libgit2.spec
+1
-1
No files found.
README.md
View file @
ea5d2ce4
...
@@ -67,7 +67,7 @@ For more advanced use or questions about CMake please read <http://www.cmake.org
...
@@ -67,7 +67,7 @@ For more advanced use or questions about CMake please read <http://www.cmake.org
The following CMake variables are declared:
The following CMake variables are declared:
-
`INSTALL_BIN`
: Where to install binaries to.
-
`INSTALL_BIN`
: Where to install binaries to.
-
`
INSTALL_LIB
`
: Where to install libraries to.
-
`
LIB_INSTALL_DIR
`
: Where to install libraries to.
-
`INSTALL_INC`
: Where to install headers to.
-
`INSTALL_INC`
: Where to install headers to.
-
`BUILD_SHARED_LIBS`
: Build libgit2 as a Shared Library (defaults to ON)
-
`BUILD_SHARED_LIBS`
: Build libgit2 as a Shared Library (defaults to ON)
-
`BUILD_CLAR`
: Build
[
Clar
](
https://github.com/tanoku/clar
)
-based test suite (defaults to ON)
-
`BUILD_CLAR`
: Build
[
Clar
](
https://github.com/tanoku/clar
)
-based test suite (defaults to ON)
...
...
libgit2.pc.in
View file @
ea5d2ce4
libdir=@CMAKE_INSTALL_PREFIX@/@
INSTALL_LIB
@
libdir=@CMAKE_INSTALL_PREFIX@/@
LIB_INSTALL_DIR
@
includedir=@CMAKE_INSTALL_PREFIX@/@INSTALL_INC@
includedir=@CMAKE_INSTALL_PREFIX@/@INSTALL_INC@
Name: libgit2
Name: libgit2
...
...
packaging/rpm/libgit2.spec
View file @
ea5d2ce4
...
@@ -65,7 +65,7 @@ to compile and develop applications that use libgit2.
...
@@ -65,7 +65,7 @@ to compile and develop applications that use libgit2.
cmake . \
cmake . \
-DCMAKE_C_FLAGS:STRING="%{optflags}" \
-DCMAKE_C_FLAGS:STRING="%{optflags}" \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
-D
INSTALL_LIB:PATH=%{_libdir}
-D
LIB_INSTALL_DIR:PATH=%{_libdir}S
make %{?_smp_mflags}
make %{?_smp_mflags}
%install
%install
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment