From 147f7a2adb467413c1703d752df4e0e26e2618cb Mon Sep 17 00:00:00 2001 From: Mads Kiilerich Date: Wed, 21 Mar 2012 20:46:37 +0100 Subject: [PATCH] cmake: default to build shared libs - don't enforce it --HG-- extra : rebase_source : 7b731d1a90169a22dda6bb9506ce41a01e98f29a --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c62494732..a37f75d42 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()