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
ac7e50dd
Commit
ac7e50dd
authored
Oct 14, 2015
by
Edward Thomson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3453 from libgit2/cmn/warn-python
CMake: be more explicit with python errors
parents
d8dc2b8f
e3f94c71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
CMakeLists.txt
+6
-1
No files found.
CMakeLists.txt
View file @
ac7e50dd
...
...
@@ -591,7 +591,12 @@ INSTALL(FILES include/git2.h DESTINATION ${INCLUDE_INSTALL_DIR} )
# Tests
IF (BUILD_CLAR)
FIND_PACKAGE(PythonInterp REQUIRED)
FIND_PACKAGE(PythonInterp)
IF(NOT PYTHONINTERP_FOUND)
MESSAGE(FATAL_ERROR "
Could not find a python interpeter, which is needed to build the tests.
"
"
Make sure python is available, or pass -DBUILD_CLAR=OFF to skip building the tests
")
ENDIF()
SET(CLAR_FIXTURES "
${
CMAKE_CURRENT_SOURCE_DIR
}
/tests/resources/
")
SET(CLAR_PATH "
${
CMAKE_CURRENT_SOURCE_DIR
}
/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