Fix cmake script for PythonLibs

This commit is contained in:
Thomas Pointhuber 2018-08-14 19:32:43 +02:00 committed by Maciej Suminski
parent 0812f71bd3
commit 86ecb9fe30
1 changed files with 2 additions and 2 deletions

View File

@ -732,9 +732,9 @@ if( KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES )
message( STATUS "Python module install path: ${PYTHON_DEST}" ) message( STATUS "Python module install path: ${PYTHON_DEST}" )
if( KICAD_SCRIPTING_PYTHON3 ) if( KICAD_SCRIPTING_PYTHON3 )
find_package( PythonLibs 3.6 ) find_package( PythonLibs 3 REQUIRED )
else() else()
find_package( PythonLibs 2.6 ) find_package( PythonLibs 2.6 REQUIRED )
endif() endif()
if( KICAD_SCRIPTING_WXPYTHON ) if( KICAD_SCRIPTING_WXPYTHON )