We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85d6769 commit fcb31c3Copy full SHA for fcb31c3
rosidl_adapter_proto/cmake/rosidl_adapt_proto_interfaces.cmake
@@ -16,7 +16,10 @@
16
#
17
# ================================= Apache 2.0 =================================
18
19
-cmake_policy(SET CMP0148 OLD)
+if(POLICY CMP0148)
20
+ cmake_policy(SET CMP0148 OLD)
21
+endif()
22
+
23
find_package(PythonInterp REQUIRED)
24
if(NOT PYTHON_EXECUTABLE)
25
message(FATAL_ERROR "Variable 'PYTHON_EXECUTABLE' must not be empty")
0 commit comments