Skip to content

Commit 3aa0973

Browse files
vicpopovmaksimandrianov
authored andcommitted
[pybindings] fix incorrect PYTHON_INCLUDE_DIRS cmake variable
PYTHON_INCLUDE_DIRS means possible python paths. PYTHON_INCLUDE_DIR means exact externally specified python path, which we pass from setup.py.
1 parent dd674a3 commit 3aa0973

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/BundledBoost.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function(setup_bundled_boost_with_python)
5252

5353
find_package(Boost ${BOOST_VERSION} EXACT REQUIRED COMPONENTS ${BOOST_PYTHON_LIBNAME})
5454
find_package(PythonInterp ${PYTHON_VERSION} REQUIRED)
55-
include_directories(${PYTHON_INCLUDE_DIRS})
55+
include_directories(${PYTHON_INCLUDE_DIR})
5656

5757
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
5858

0 commit comments

Comments
 (0)