diff options
-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) |