From dce71c86cb80da2f82f795638b198550ef8706d1 Mon Sep 17 00:00:00 2001 From: Daniel Crispell Date: Mon, 3 Jul 2017 14:26:02 -0400 Subject: [PATCH] allow specification of alternate pybind11 directory Former-commit-id: a99055c7ca98ad56dd115b44d46af5de1ad2d84a --- python/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 2b146b5e5..537a4e085 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -48,7 +48,8 @@ endif() include_directories(${PYTHON_INCLUDE_DIR} include) ## include pybind -include_directories(${PROJECT_SOURCE_DIR}/../external/nanogui/ext/pybind11/include) +set(PYBIND11_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/../external/nanogui/ext/pybind11/include CACHE PATH "Path to pybind11/include") +include_directories(${PYBIND11_INCLUDE_DIR}) ## include libigl option(LIBIGL_USE_STATIC_LIBRARY "Use LibIGL as static library" OFF)