From 41142c73bf4b00c4a451ceeda0b119cc40d27a7f Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Wed, 13 Aug 2025 11:59:41 +0500 Subject: [PATCH] cmake ifcwrap - fix CMP0148 warning The policy is removing FindPythonInterp and FindPythonLibs, but it was introduced in 3.27, so just skip it not to break minimum cmake ver. --- src/ifcwrap/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ifcwrap/CMakeLists.txt b/src/ifcwrap/CMakeLists.txt index 841041e2e7..00e1770110 100644 --- a/src/ifcwrap/CMakeLists.txt +++ b/src/ifcwrap/CMakeLists.txt @@ -17,6 +17,7 @@ # # ################################################################################ +cmake_policy(SET CMP0148 OLD) cmake_policy(SET CMP0177 OLD) FIND_PACKAGE(SWIG)