When using cmake -DBUILD_PYBULLET=ON, force BUILD_SHARED_LIBS option
This commit is contained in:
@@ -194,6 +194,7 @@ OPTION(BUILD_BULLET3 "Set when you want to build Bullet 3" ON)
|
||||
OPTION(BUILD_PYBULLET "Set when you want to build pybullet (experimental Python bindings for Bullet)" OFF)
|
||||
IF(BUILD_PYBULLET)
|
||||
FIND_PACKAGE(PythonLibs 2.7 REQUIRED)
|
||||
SET(BUILD_SHARED_LIBS ON CACHE BOOL "Shared Libs" FORCE)
|
||||
ENDIF(BUILD_PYBULLET)
|
||||
|
||||
IF(BUILD_BULLET3)
|
||||
|
||||
Reference in New Issue
Block a user