aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-03-11 22:38:54 -0700
committerTimothy Gu <timothygu99@gmail.com>2015-03-11 22:38:54 -0700
commitce706da11c151dde7a41917557743d20081f9c97 (patch)
tree5a772c3e25ab42ea5631481d40ca86e469f1c780
parent081924eedd4db30fc5ee70ab2158135b2a32eaf6 (diff)
parent473386e398d143bec1ad1f34b001382ec8061e65 (diff)
downloaddlfcn-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.txt8
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 @@
1project (dlfcn C)
2
3cmake_minimum_required(VERSION 2.8) 1cmake_minimum_required(VERSION 2.8)
4 2
3if (NOT DEFINED CMAKE_BUILD_TYPE)
4 set (CMAKE_BUILD_TYPE Release CACHE STRING "Build type")
5endif ()
6
7project (dlfcn C)
8
5option(BUILD_SHARED_LIBS "shared/static libs" ON) 9option(BUILD_SHARED_LIBS "shared/static libs" ON)
6option(USE_WINE "use wine for test" ON) 10option(USE_WINE "use wine for test" ON)
7option(BUILD_TESTS "tests?" OFF) 11option(BUILD_TESTS "tests?" OFF)