cmake: default to build shared libs - don't enforce it

--HG--
extra : rebase_source : 7b731d1a90169a22dda6bb9506ce41a01e98f29a
This commit is contained in:
Mads Kiilerich 2012-03-21 20:46:37 +01:00
parent 263ce4673b
commit 147f7a2adb
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release")
endif()
# build shared libs
if(NOT BUILD_SHARED_LIBS)
# Default to build shared libs
if(NOT DEFINED BUILD_SHARED_LIBS)
set(BUILD_SHARED_LIBS ON)
endif()