Skip to content
Snippets Groups Projects
Commit e3cc8313 authored by Juan David Adarve's avatar Juan David Adarve Committed by Andrews Sobral
Browse files

Added Python interpreter version to find_package statement. (#127)

This Fixes #96.
parent ac60e30b
Branches
Tags
No related merge requests found
......@@ -95,8 +95,8 @@ if(BGS_PYTHON_SUPPORT)
else()
find_package(Boost REQUIRED COMPONENTS python3)
endif()
find_package(PythonInterp REQUIRED)
find_package(PythonLibs REQUIRED)
find_package(PythonInterp ${BGS_PYTHON_VERSION} REQUIRED)
find_package(PythonLibs ${BGS_PYTHON_VERSION} REQUIRED)
message(STATUS "Boost library status:")
message(STATUS " version: ${Boost_VERSION}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment