fix build? (pybullet shouldn't be build by default)
This commit is contained in:
@@ -300,6 +300,8 @@ ENDIF()
|
|||||||
|
|
||||||
OPTION(BUILD_BULLET3 "Set when you want to build Bullet 3" ON)
|
OPTION(BUILD_BULLET3 "Set when you want to build Bullet 3" ON)
|
||||||
|
|
||||||
|
OPTION(BUILD_PYBULLET "Set when you want to build pybullet (Python bindings for Bullet)" OFF)
|
||||||
|
IF(BUILD_PYBULLET)
|
||||||
# Optional Python configuration
|
# Optional Python configuration
|
||||||
# builds pybullet automatically if all the requirements are met
|
# builds pybullet automatically if all the requirements are met
|
||||||
SET(PYTHON_VERSION_PYBULLET "2.7" CACHE STRING "Python version pybullet will use.")
|
SET(PYTHON_VERSION_PYBULLET "2.7" CACHE STRING "Python version pybullet will use.")
|
||||||
@@ -314,8 +316,7 @@ ENDIF(EXACT_PYTHON_VERSION)
|
|||||||
FIND_PACKAGE(PythonInterp ${PYTHON_VERSION_PYBULLET} ${EXACT_PYTHON_VERSION_FLAG})
|
FIND_PACKAGE(PythonInterp ${PYTHON_VERSION_PYBULLET} ${EXACT_PYTHON_VERSION_FLAG})
|
||||||
# python library should exactly match that of the interpreter
|
# python library should exactly match that of the interpreter
|
||||||
FIND_PACKAGE(PythonLibs ${PYTHON_VERSION_STRING} EXACT)
|
FIND_PACKAGE(PythonLibs ${PYTHON_VERSION_STRING} EXACT)
|
||||||
SET(DEFAULT_BUILD_PYBULLET OFF)
|
ENDIF()
|
||||||
OPTION(BUILD_PYBULLET "Set when you want to build pybullet (Python bindings for Bullet)" ${DEFAULT_BUILD_PYBULLET})
|
|
||||||
|
|
||||||
OPTION(BUILD_ENET "Set when you want to build apps with enet UDP networking support" ON)
|
OPTION(BUILD_ENET "Set when you want to build apps with enet UDP networking support" ON)
|
||||||
OPTION(BUILD_CLSOCKET "Set when you want to build apps with enet TCP networking support" ON)
|
OPTION(BUILD_CLSOCKET "Set when you want to build apps with enet TCP networking support" ON)
|
||||||
|
|||||||
Reference in New Issue
Block a user