From c4ee2f2e4243c5c79832eb03916b39b40ae9d3d7 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 8 Dec 2020 00:28:16 -0500 Subject: [PATCH] don't need Python interpreter for compiling the PYTHON package --- cmake/Modules/Packages/PYTHON.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/Packages/PYTHON.cmake b/cmake/Modules/Packages/PYTHON.cmake index e3158dc509..ef8b056a85 100644 --- a/cmake/Modules/Packages/PYTHON.cmake +++ b/cmake/Modules/Packages/PYTHON.cmake @@ -3,7 +3,7 @@ if(CMAKE_VERSION VERSION_LESS 3.12) target_include_directories(lammps PRIVATE ${PYTHON_INCLUDE_DIRS}) target_link_libraries(lammps PRIVATE ${PYTHON_LIBRARIES}) else() - find_package(Python REQUIRED COMPONENTS Development Interpreter) + find_package(Python REQUIRED COMPONENTS Development) target_include_directories(lammps PRIVATE ${Python_INCLUDE_DIRS}) target_link_libraries(lammps PRIVATE Python::Python) endif()