From 0b174cdf5aff2aff0a78156063c1104286e77e87 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Thu, 27 Apr 2023 12:36:30 +0200 Subject: [PATCH] fixed: only search for Development.Module component for python no embedding here --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 339bda4e2..9b6923450 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ if (OPM_ENABLE_PYTHON) if(PYTHON_EXECUTABLE AND NOT Python3_EXECUTABLE) set(Python3_EXECUTABLE ${PYTHON_EXECUTABLE}) endif() - find_package(Python3 REQUIRED COMPONENTS Interpreter Development) + find_package(Python3 REQUIRED COMPONENTS Interpreter Development.Module) endif() if(Python3_VERSION_MINOR LESS 3) # Python native namespace packages requires python >= 3.3