Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
timonegk committed Aug 15, 2023
1 parent ac8338c commit 066425b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catkin_tools/jobs/cmake/python.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# the CMake variable PYTHON_INSTALL_DIR has the same value as the Python function catkin.builder.get_python_install_dir()

set(PYTHON_VERSION "$ENV{ROS_PYTHON_VERSION}" CACHE STRING "Specify specific Python version to use ('major.minor' or 'major')")
find_package(PythonInterp ${PYTHON_VERSION} REQUIRED)
find_package(Python${PYTHON_VERSION} COMPONENTS Interpreter)

message(STATUS "Using PYTHON_EXECUTABLE: ${PYTHON_EXECUTABLE}")

Expand Down

0 comments on commit 066425b

Please sign in to comment.