diff --git a/src/Mod/Path/libarea/CMakeLists.txt b/src/Mod/Path/libarea/CMakeLists.txt index 239c5a2580..3e223f258a 100644 --- a/src/Mod/Path/libarea/CMakeLists.txt +++ b/src/Mod/Path/libarea/CMakeLists.txt @@ -38,6 +38,8 @@ if(NOT FREECAD_USE_PYBIND11) else() include_directories(${Boost_INCLUDE_DIRS}) endif() +else() + include_directories(${pybind11_INCLUDE_DIR}) endif(NOT FREECAD_USE_PYBIND11)