Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11
Commits
69821d9e
Unverified
Commit
69821d9e
authored
Aug 18, 2020
by
Paul Fultz II
Committed by
GitHub
Aug 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable testing when using BUILD_TESTING (#1682)
parent
cf0a6459
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
CMakeLists.txt
+9
-2
No files found.
CMakeLists.txt
View file @
69821d9e
...
...
@@ -272,6 +272,13 @@ if(PYBIND11_INSTALL)
endif
()
endif
()
if
(
PYBIND11_TEST
OR
(
BUILD_TESTING AND PYBIND11_MASTER_PROJECT
))
add_subdirectory
(
tests
)
# BUILD_TESTING takes priority, but only if this is the master project
if
(
PYBIND11_MASTER_PROJECT AND DEFINED BUILD_TESTING
)
if
(
BUILD_TESTING
)
add_subdirectory
(
tests
)
endif
()
else
()
if
(
PYBIND11_TEST
)
add_subdirectory
(
tests
)
endif
()
endif
()
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