Skip to content

Commit

Permalink
Remove IDYNTREE_USES_PYTHON_VERSION cached CMake variable
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Aug 30, 2020
1 parent 91343e2 commit a42617c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions bindings/python/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
set(CMAKE_SWIG_FLAGS "-Wextra;-module;iDynTree;-threads")
set(IDYNTREE_USES_PYTHON_VERSION "" CACHE STRING "Specify python version to use" )

find_package(Python3 COMPONENTS Interpreter Development NumPy REQUIRED)
message(STATUS "Using Python: ${Python3_EXECUTABLE}")

if(NOT IDYNTREE_USES_PYTHON_VERSION)
set (IDYNTREE_USES_PYTHON_VERSION ${Python3_VERSION})
endif()

set_source_files_properties(../iDynTree.i PROPERTIES CPLUSPLUS ON)

swig_add_library(iDynTree_python
Expand Down

0 comments on commit a42617c

Please sign in to comment.