Skip to content

Commit

Permalink
Use FindPython3 instead of FindPythonInterp (ament#355)
Browse files Browse the repository at this point in the history
* First pass using FindPython3, no testing done

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Use config-time python to avoid CMP0087

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Set ament_package_PYTHON_EXECUTABLE

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* move getting executable path out of if block

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Fatal error if Python3::Interpreter not present

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Remove Python 2 logic

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
  • Loading branch information
sloretz committed Aug 12, 2021
1 parent 1b9aa7e commit bac07e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ament_cmake_auto/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.12)

project(ament_cmake_auto NONE)

Expand Down

0 comments on commit bac07e0

Please sign in to comment.