diff options
author | Timothy Gu <timothygu99@gmail.com> | 2015-03-11 22:38:54 -0700 |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2015-03-11 22:38:54 -0700 |
commit | ce706da11c151dde7a41917557743d20081f9c97 (patch) | |
tree | 5a772c3e25ab42ea5631481d40ca86e469f1c780 | |
parent | 081924eedd4db30fc5ee70ab2158135b2a32eaf6 (diff) | |
parent | 473386e398d143bec1ad1f34b001382ec8061e65 (diff) | |
download | dlfcn-win32-ce706da11c151dde7a41917557743d20081f9c97.tar.gz dlfcn-win32-ce706da11c151dde7a41917557743d20081f9c97.tar.bz2 dlfcn-win32-ce706da11c151dde7a41917557743d20081f9c97.zip |
Merge pull request #10 from xantares/patch-5
set CMAKE_BUILD_TYPE default
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e8731d2..6dcf8a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -1,7 +1,11 @@ | |||
1 | project (dlfcn C) | ||
2 | |||
3 | cmake_minimum_required(VERSION 2.8) | 1 | cmake_minimum_required(VERSION 2.8) |
4 | 2 | ||
3 | if (NOT DEFINED CMAKE_BUILD_TYPE) | ||
4 | set (CMAKE_BUILD_TYPE Release CACHE STRING "Build type") | ||
5 | endif () | ||
6 | |||
7 | project (dlfcn C) | ||
8 | |||
5 | option(BUILD_SHARED_LIBS "shared/static libs" ON) | 9 | option(BUILD_SHARED_LIBS "shared/static libs" ON) |
6 | option(USE_WINE "use wine for test" ON) | 10 | option(USE_WINE "use wine for test" ON) |
7 | option(BUILD_TESTS "tests?" OFF) | 11 | option(BUILD_TESTS "tests?" OFF) |