Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
3d20b73e
Commit
3d20b73e
authored
Jul 22, 2020
by
Henry Schreiner
Committed by
Henry Schreiner
Jul 23, 2020
Browse files
test: pass through C++ std for cmake test
parent
ef057f12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
tests/test_cmake_build/CMakeLists.txt
tests/test_cmake_build/CMakeLists.txt
+1
-0
No files found.
tests/test_cmake_build/CMakeLists.txt
View file @
3d20b73e
...
...
@@ -13,6 +13,7 @@ function(pybind11_add_build_test name)
set
(
build_options
"-DCMAKE_PREFIX_PATH=
${
PROJECT_BINARY_DIR
}
/mock_install"
"-DCMAKE_CXX_COMPILER=
${
CMAKE_CXX_COMPILER
}
"
"-DPYTHON_EXECUTABLE:FILEPATH=
${
PYTHON_EXECUTABLE
}
"
"-DCMAKE_CXX_STANDARD=
${
CMAKE_CXX_STANDARD
}
"
"-DPYBIND11_CPP_STANDARD=
${
PYBIND11_CPP_STANDARD
}
"
)
if
(
NOT ARG_INSTALL
)
list
(
APPEND build_options
"-DPYBIND11_PROJECT_DIR=
${
PROJECT_SOURCE_DIR
}
"
)
...
...
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