From f6d64137c75a14ccc56f474d0fbacdcb6a04207f Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Wed, 9 Jul 2014 02:10:19 -0400 Subject: [PATCH 1/2] Fix typo elseif() -> else() in CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1553746f44eff..1faf91a932de3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ option(BUILD_CORE_ONLY "Build only the core of DART" OFF) if(MSVC) set(RUNTIME_LIBRARY "/MD" CACHE STRING "BaseName chosen by the user at CMake configure time") set_property(CACHE RUNTIME_LIBRARY PROPERTY STRINGS /MD /MT) -elseif() +else() option(BUILD_SHARED_LIBS "Build shared libraries" ON) endif() From 51f6157f5dfe65b01a954270cf769f493102d5cd Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Wed, 9 Jul 2014 02:11:06 -0400 Subject: [PATCH 2/2] Set default build type as RelWithDebInfo for debian --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) mode change 100644 => 100755 debian/rules diff --git a/debian/rules b/debian/rules old mode 100644 new mode 100755 index f498a10b78c3c..f3b8eb95844e5 --- a/debian/rules +++ b/debian/rules @@ -9,5 +9,9 @@ # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 +override_dh_auto_configure: + dh_auto_configure -- \ + -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo + %: dh $@