aboutsummaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAlex Chronopoulos <[email protected]>2017-02-09 17:00:31 +0200
committerMatthew Gregan <[email protected]>2017-02-14 15:43:26 +1300
commit167bc2246aa5159af4712e69628e56e5cc90fdfe (patch)
treeca0517b74a25553ee44e4f6a8e369cab4d7da308 /CMakeLists.txt
parent5623cf0e4d035840d88216fddb84a7d20097679e (diff)
downloadcubeb-167bc2246aa5159af4712e69628e56e5cc90fdfe.tar.gz
cubeb-167bc2246aa5159af4712e69628e56e5cc90fdfe.zip
build: explicit option() for shared libs build
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4a6cc05..2430f94 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,6 +5,8 @@ cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
project(cubeb
VERSION 0.0.0)
+option(BUILD_SHARED_LIBS "Build shared libraries" OFF)
+
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING
"Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)