summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerwincoumans <erwincoumans@google.com>2020-09-01 08:09:26 -0700
committerGitHub <noreply@github.com>2020-09-01 08:09:26 -0700
commit63f2ad90e55c10460c2aa7f92be32e6ac2f227dc (patch)
tree4d0ea889cbf9d32e581232fe8c675ceba7c524a5
parente79e44db6c3efede15db5e7fa77c71f32ffd3367 (diff)
downloadbullet3-erwincoumans-findpython_fix.tar.gz
Update CMakeLists.txterwincoumans-findpython_fix
travis fails due to cmake not finding Python (again...)
-rw-r--r--CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 046199b35..ef943b947 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -339,10 +339,7 @@ IF(BUILD_PYBULLET)
set(EXACT_PYTHON_VERSION_FLAG EXACT REQUIRED)
ENDIF(EXACT_PYTHON_VERSION)
# first find the python interpreter
- FIND_PACKAGE(PythonInterp ${PYTHON_VERSION_PYBULLET} ${EXACT_PYTHON_VERSION_FLAG})
- # python library should exactly match that of the interpreter
- # the following can result in fatal error if you don't have the right python configuration
- FIND_PACKAGE(PythonLibs ${PYTHON_VERSION_STRING} EXACT)
+ FIND_PACKAGE(Python ${PYTHON_VERSION_PYBULLET} ${EXACT_PYTHON_VERSION_FLAG})
ENDIF(BUILD_PYBULLET)
OPTION(BUILD_ENET "Set when you want to build apps with enet UDP networking support" ON)