Skip to content

Commit 85d6769

Browse files
committed
Set CMP0148 to preserve old python interpreter-finding logic
1 parent 01f45e3 commit 85d6769

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rosidl_adapter_proto/cmake/rosidl_adapt_proto_interfaces.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#
1717
# ================================= Apache 2.0 =================================
1818

19+
cmake_policy(SET CMP0148 OLD)
1920
find_package(PythonInterp REQUIRED)
2021
if(NOT PYTHON_EXECUTABLE)
2122
message(FATAL_ERROR "Variable 'PYTHON_EXECUTABLE' must not be empty")

0 commit comments

Comments
 (0)