Description: Fix CMake 4.x configure failure: set CMP0042 to NEW
 CMake 4.x no longer supports the OLD behavior of policy CMP0042
 (MACOSX_RPATH), so configure aborts. Set the policy to NEW instead.
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Forwarded: not-needed
Last-Update: 2026-09-04

--- openbabel-3.1.1+dfsg.orig/CMakeLists.txt
+++ openbabel-3.1.1+dfsg/CMakeLists.txt
@@ -11,7 +11,7 @@ set (CMAKE_CXX_STANDARD 11)
 if(COMMAND cmake_policy)
   cmake_policy(SET CMP0003 NEW)
   if(POLICY CMP0042)
-    cmake_policy(SET CMP0042 OLD)
+    cmake_policy(SET CMP0042 NEW)
   endif()
 endif()
 

