From 4f88edde14b4eb16ca3ff210d96e0e0c8e6dc650 Mon Sep 17 00:00:00 2001 From: Ivan Smirnov Date: Sun, 17 Jan 2016 16:42:11 +0000 Subject: [PATCH] Add an include in cmake.rst --- docs/cmake.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/cmake.rst b/docs/cmake.rst index 41f58fff5..5952920a5 100644 --- a/docs/cmake.rst +++ b/docs/cmake.rst @@ -15,6 +15,8 @@ and that the pybind11 repository is located in a subdirectory named :file:`pybin # Add a CMake parameter for choosing a desired Python version set(EXAMPLE_PYTHON_VERSION "" CACHE STRING "Python version to use for compiling the example library") + + include(CheckCXXCompilerFlag) # Set a default build configuration if none is specified. 'MinSizeRel' produces the smallest binaries if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)