Skip to content

Commit

Permalink
cmake: check for libpython of the same version of interpreter
Browse files Browse the repository at this point in the history
actually cython or python3-cython's dependencies should take care of it.
but we should at least get it right on our side if we check it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit c961e00)
  • Loading branch information
tchaikov committed Apr 10, 2019
1 parent 4c4b7ec commit 601126c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Expand Up @@ -287,7 +287,7 @@ if(WITH_PYTHON3)
set(WITH_PYTHON3 "3")
endif()
find_package(Python3Interp ${WITH_PYTHON3} REQUIRED)
find_package(Python3Libs ${WITH_PYTHON3} REQUIRED)
find_package(Python3Libs ${PYTHON_VERSION_STRING} REQUIRED)
endif()

# the major version of the python bindings as a dependency of other
Expand Down

0 comments on commit 601126c

Please sign in to comment.