From 86ecb9fe30a13f923a871c8502c39a543f8ce47a Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Tue, 14 Aug 2018 19:32:43 +0200 Subject: [PATCH] Fix cmake script for PythonLibs --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ae202cb838..f4393fd5ab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -732,9 +732,9 @@ if( KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES ) message( STATUS "Python module install path: ${PYTHON_DEST}" ) if( KICAD_SCRIPTING_PYTHON3 ) - find_package( PythonLibs 3.6 ) + find_package( PythonLibs 3 REQUIRED ) else() - find_package( PythonLibs 2.6 ) + find_package( PythonLibs 2.6 REQUIRED ) endif() if( KICAD_SCRIPTING_WXPYTHON )