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
b95c79ab
Unverified
Commit
b95c79ab
authored
Oct 04, 2018
by
Edward Thomson
Committed by
GitHub
Oct 04, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4829 from pks-t/pks/cmake-cmp0054
cmake: enable new quoted argument policy CMP0054
parents
e41a0f7b
633584b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
CMakeLists.txt
+5
-2
No files found.
CMakeLists.txt
View file @
b95c79ab
...
...
@@ -14,12 +14,15 @@
PROJECT
(
libgit2 C
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8.11
)
CMAKE_POLICY
(
SET CMP0015 NEW
)
IF
(
POLICY CMP0051
)
IF
(
POLICY CMP0051
)
CMAKE_POLICY
(
SET CMP0051 NEW
)
ENDIF
()
IF
(
POLICY CMP0042
)
IF
(
POLICY CMP0042
)
CMAKE_POLICY
(
SET CMP0042 NEW
)
ENDIF
()
IF
(
POLICY CMP0054
)
CMAKE_POLICY
(
SET CMP0054 NEW
)
ENDIF
()
# Add find modules to the path
SET
(
CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
"
${
libgit2_SOURCE_DIR
}
/cmake/Modules/"
)
...
...
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