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
032db4d0
Commit
032db4d0
authored
Dec 07, 2010
by
Peter Drahoš
Committed by
Vicent Marti
Dec 12, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reflect the recent changes in header organization (CMake)
parent
5b8bb8e7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
CMakeLists.txt
+4
-3
No files found.
CMakeLists.txt
View file @
032db4d0
...
...
@@ -16,7 +16,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
# Find required dependencies
FIND_PACKAGE
(
ZLIB REQUIRED
)
INCLUDE_DIRECTORIES
(
${
ZLIB_INCLUDE_DIR
}
${
PTHREAD_INCLUDE_DIR
}
src
)
INCLUDE_DIRECTORIES
(
${
ZLIB_INCLUDE_DIR
}
src
)
# Try finding openssl
FIND_PACKAGE
(
OpenSSL
)
...
...
@@ -29,7 +29,7 @@ ENDIF ()
# Installation paths
SET
(
INSTALL_BIN bin CACHE PATH
"Where to install binaries to."
)
SET
(
INSTALL_LIB lib CACHE PATH
"Where to install libraries to."
)
SET
(
INSTALL_INC include
/git
CACHE PATH
"Where to install headers to."
)
SET
(
INSTALL_INC include CACHE PATH
"Where to install headers to."
)
# Build options
OPTION
(
BUILD_SHARED_LIBS
"Build Shared Library (OFF for Static)"
ON
)
...
...
@@ -82,7 +82,8 @@ INSTALL(TARGETS git2
LIBRARY DESTINATION
${
INSTALL_LIB
}
ARCHIVE DESTINATION
${
INSTALL_LIB
}
)
INSTALL
(
FILES
${
SRC_H
}
DESTINATION
${
INSTALL_INC
}
)
INSTALL
(
DIRECTORY src/git2 DESTINATION
${
INSTALL_INC
}
)
INSTALL
(
FILES src/git2.h DESTINATION
${
INSTALL_INC
}
)
# Tests
IF
(
BUILD_TESTS
)
...
...
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