File tree 2 files changed +2
-4
lines changed 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,6 @@ message(STATUS "pybind11 v${pybind11_VERSION} ${PYBIND11_VERSION_TYPE}")
46
46
if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR )
47
47
set (PYBIND11_MASTER_PROJECT ON )
48
48
message (STATUS "CMake ${CMAKE_VERSION} " )
49
- message (STATUS "CXX Compiler: ${CMAKE_CXX_COMPILER} " )
50
- message (STATUS "CXX Compiler version: ${CMAKE_CXX_COMPILER_VERSION} " )
51
49
52
50
if (CMAKE_CXX_STANDARD)
53
51
set (CMAKE_CXX_EXTENSIONS OFF )
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ Configuration variables
97
97
-----------------------
98
98
99
99
By default, pybind11 will compile modules with the compiler default or the
100
- minimum standard required by PyBind11 , whichever is higher. You can set the
100
+ minimum standard required by pybind11 , whichever is higher. You can set the
101
101
standard explicitly with
102
102
`CMAKE_CXX_STANDARD <https://cmake.org/cmake/help/latest/variable/CMAKE_CXX_STANDARD.html >`_:
103
103
@@ -124,7 +124,7 @@ For example:
124
124
# Another method:
125
125
cmake -DPYTHON_EXECUTABLE=/path/to/python ..
126
126
127
- # You will often see this idiom :
127
+ # This often is a good way to get the current Python, works in environments :
128
128
cmake -DPYTHON_EXECUTABLE=$( python3 -c " import sys; print(sys.executable)" ) ..
129
129
130
130
find_package vs. add_subdirectory
You can’t perform that action at this time.
0 commit comments