diff --git a/gmshpy/CMakeLists.txt b/gmshpy/CMakeLists.txt index 70a220b16b92960c792042343187740ae5f937f5..0860e1c565e6ac8c27f67ee0f58c7a65e734c480 100644 --- a/gmshpy/CMakeLists.txt +++ b/gmshpy/CMakeLists.txt @@ -70,7 +70,7 @@ if(ENABLE_PYTHON_LIB_API) endif(ENABLE_PYTHON_LIB_API) include(${SWIG_USE_FILE}) -include_directories(${PYTHON_INCLUDE_DIR}) +include_directories(${PYTHON_INCLUDE_PATH}) foreach(module ${SWIG_MODULES}) set_source_files_properties(${module}.i PROPERTIES CPLUSPLUS ON)