diff options
author | Alex Chronopoulos <[email protected]> | 2017-02-09 17:00:31 +0200 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2017-02-14 15:43:26 +1300 |
commit | 167bc2246aa5159af4712e69628e56e5cc90fdfe (patch) | |
tree | ca0517b74a25553ee44e4f6a8e369cab4d7da308 /CMakeLists.txt | |
parent | 5623cf0e4d035840d88216fddb84a7d20097679e (diff) | |
download | cubeb-167bc2246aa5159af4712e69628e56e5cc90fdfe.tar.gz cubeb-167bc2246aa5159af4712e69628e56e5cc90fdfe.zip |
build: explicit option() for shared libs build
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
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) |