[segyio] 308/376: Don't force build type
Jørgen Kvalsvik
jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:50 UTC 2017
This is an automated email from the git hooks/post-receive script.
jokva-guest pushed a commit to branch debian
in repository segyio.
commit c6ca700f06250b13777b46079103244f4ed6bf38
Author: Jørgen Kvalsvik <jokva at statoil.com>
Date: Fri Jun 16 15:07:57 2017 +0200
Don't force build type
Packaging- and install systems tend to want to insert their own flags
etc. anyway, and forcing a build type messes with that. The readme
suggests building release regardless, and developers that need a
configuration can usually set that with no issue.
---
CMakeLists.txt | 6 ------
1 file changed, 6 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a2b4f56..8ddcf70 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -31,12 +31,6 @@ include(default_warnings)
include(segyio_testing)
enable_testing()
-if (NOT CMAKE_BUILD_TYPE)
- set(CMAKE_BUILD_TYPE "Release"
- CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel."
- FORCE)
-endif(NOT CMAKE_BUILD_TYPE)
-
set(testdata ${CMAKE_CURRENT_SOURCE_DIR}/test-data)
add_subdirectory(lib)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git
More information about the debian-science-commits
mailing list