From 477967ed32b3a44deeda320a28367edd2542f175 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 29 Jul 2018 22:45:45 +0200 Subject: [PATCH] Python Development component is not needed --- cmake/Modules/SetupPython.cmake | 4 ++-- .../volk_gnsssdr/cmake/Modules/VolkPython.cmake | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/Modules/SetupPython.cmake b/cmake/Modules/SetupPython.cmake index b643364b8..d8bde9efd 100644 --- a/cmake/Modules/SetupPython.cmake +++ b/cmake/Modules/SetupPython.cmake @@ -84,7 +84,7 @@ if(CMAKE_VERSION VERSION_LESS 3.12) endif(PYTHON_EXECUTABLE) find_package(PythonLibs ${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR} EXACT) else(CMAKE_VERSION VERSION_LESS 3.12) - find_package (Python3 COMPONENTS Interpreter Development) + find_package (Python3 COMPONENTS Interpreter) if(Python3_FOUND) set(PYTHON_EXECUTABLE ${Python3_EXECUTABLE}) set(PYTHON_VERSION_MAJOR ${Python3_VERSION_MAJOR}) @@ -93,7 +93,7 @@ else(CMAKE_VERSION VERSION_LESS 3.12) GNSSSDR_PYTHON_CHECK_MODULE("six - python 2 and 3 compatibility library" six "True" SIX_FOUND) endif(Python3_FOUND) if(NOT Python3_FOUND OR NOT MAKO_FOUND OR NOT SIX_FOUND) - find_package(Python2 COMPONENTS Interpreter Development) + find_package(Python2 COMPONENTS Interpreter) if(Python2_FOUND) set(PYTHON_EXECUTABLE ${Python2_EXECUTABLE}) set(PYTHON_VERSION_MAJOR ${Python2_VERSION_MAJOR}) diff --git a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cmake/Modules/VolkPython.cmake b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cmake/Modules/VolkPython.cmake index cc68e91c4..809feb8e1 100644 --- a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cmake/Modules/VolkPython.cmake +++ b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cmake/Modules/VolkPython.cmake @@ -47,7 +47,7 @@ else(CMAKE_VERSION VERSION_LESS 3.12) message(STATUS "User set python executable ${PYTHON_EXECUTABLE}") find_package(PythonInterp ${VOLK_PYTHON_MIN_VERSION} REQUIRED) else(PYTHON_EXECUTABLE) - find_package (Python COMPONENTS Interpreter Development) + find_package (Python COMPONENTS Interpreter) set(PYTHON_VERSION_MAJOR ${Python_VERSION_MAJOR}) set(PYTHON_EXECUTABLE ${Python_EXECUTABLE}) endif(PYTHON_EXECUTABLE)