Unverified Commit 3ca40856 authored by René Fritze's avatar René Fritze
Browse files

[tutorials] fixes finding pybind11

parent cabc4afd
......@@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 3.1)
set(PYTHON_EXECUTABLE /usr/local/bin/python3 CACHE PATH "")
project(minimal-cpp-demo)
find_package(pybind11 CONFIG REQUIRED)
find_package(pybind11 CONFIG REQUIRED HINTS ${PYBIND11_DIR} ${PYBIND11_ROOT}
$ENV{PYBIND11_DIR} $ENV{PYBIND11_ROOT})
message(STATUS "Found pybind11 v${pybind11_VERSION}: ${pybind11_INCLUDE_DIRS}")
# Create an extension module
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment