Merge pull request #1161 from juvester/trusty-cmake-fix

cmake: Search for Python 3.4
This commit is contained in:
Jim 2018-01-21 05:52:04 -08:00 committed by GitHub
commit 4fed7115fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -20,6 +20,7 @@ sudo apt-get install -y \
libgl1-mesa-dev \
libjack-jackd2-dev \
libjansson-dev \
libluajit-5.1-dev \
libpulse-dev \
libqt5x11extras5-dev \
libspeexdsp-dev \
@ -35,4 +36,6 @@ sudo apt-get install -y \
libxcomposite-dev \
libxinerama-dev \
pkg-config \
qtbase5-dev
python3-dev \
qtbase5-dev \
swig

View File

@ -9,6 +9,7 @@
# PYTHON_INCLUDE_DIR
if(NOT WIN32)
set(Python_ADDITIONAL_VERSIONS 3.4)
find_package(PythonLibs QUIET 3.4)
return()
endif()