mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-19 22:39:09 +00:00
Document CMAKE_CXX_STANDARD
This variable is a CMake community standard to set the C++ standard of a build. Document it in favor of the previous variable, which stays as a legacy flag for existing projects. https://cmake.org/cmake/help/v3.17/variable/CMAKE_CXX_STANDARD.html
This commit is contained in:
@@ -28,8 +28,8 @@
|
||||
#
|
||||
# Python headers, libraries (as needed by platform), and the C++ standard
|
||||
# are attached to the target. Set PythonLibsNew variables to influence
|
||||
# python detection and PYBIND11_CPP_STANDARD (-std=c++11 or -std=c++14) to
|
||||
# influence standard setting. ::
|
||||
# python detection and CMAKE_CXX_STANDARD (11 or 14) to influence standard
|
||||
# setting. ::
|
||||
#
|
||||
# find_package(pybind11 CONFIG REQUIRED)
|
||||
# message(STATUS "Found pybind11 v${pybind11_VERSION}: ${pybind11_INCLUDE_DIRS}")
|
||||
|
||||
Reference in New Issue
Block a user