cmake: don't install anything by default, unless the option INSTALL_LIBS is enabled

cmake: fix for multi-threaded benchmarks
This commit is contained in:
erwin.coumans
2010-02-11 07:12:58 +00:00
parent 97921411d2
commit 70c70bf681
8 changed files with 118 additions and 102 deletions

View File

@@ -200,6 +200,7 @@ OPTION(BUILD_BULLET_MAYA_DYNAMICA_PLUGIN "Set when you want to build the Bullet
#INSTALL of other files requires CMake 2.6
IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
OPTION(INSTALL_EXTRA_LIBS "Set when you want extra libraries installed" OFF)
OPTION(INSTALL_LIBS "Set when you want to install libraries" OFF)
ENDIF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.5)
SUBDIRS(src)