summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnsariel <ansariel.hiller@phoenixviewer.com>2023-08-28 18:47:20 +0200
committerakleshchev <117672381+akleshchev@users.noreply.github.com>2023-08-31 18:59:23 +0300
commit512d450fe31eee5772339c27333e0d56f4bfbd45 (patch)
treefdcb9b9947f1ef9531d4b4e01ba7c607f8bf4bca
parentfa29f4f0b1f0680ada3b95e67c0728a2f6a529b1 (diff)
Fix CMake CMP0148 deprecation warning introduced with CMake 3.27.4
-rw-r--r--indra/cmake/Python.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/Python.cmake b/indra/cmake/Python.cmake
index f9259f6c2b..2167fb7864 100644
--- a/indra/cmake/Python.cmake
+++ b/indra/cmake/Python.cmake
@@ -40,7 +40,7 @@ elseif (WINDOWS)
${regpaths}
${pymaybe}
)
- include(FindPythonInterp)
+ find_package(Python3 COMPONENTS Interpreter)
else()
find_program(python python3)