Re: trying to build sfcgal 1.2.0
On 2015-09-23 14:47, Sven Geggus wrote:
The problem seems to be, that dh_auto_configure is automatically
cmake with -DCMAKE_BUILD_TYPE=None
Looking at the cmake documentation this does not seem to be a valid
for CMAKE_BUILD_TYPE. What's the story with this?
I need to omit this Option in order to make sfcgal tests and likely the
library as a whole work.
I don't know what the story with the default value for the
CMAKE_BUILD_TYPE option is, the commit history of debhelper will likely
shed some light on this.
This issue (and the links therein) discuss the change:
Why does CMAKE_BUILD_TYPE=None affect the sfcgal tests?
This build type doesn't make CMake set any compiler flags allowing the
use of the dpkg-buildflags set in the environment.
Looking at the CMakeLists.txt for sfcgal shows that it sets the
CMAKE_BUILD_TYPE to Release when it's not Debug, Release nor
RelWithDebInfo. If you have to choose the RelWithDebInfo option is
preferred because this doesn't strip the debug symbols as the Release
option does. This will allow you to provide a -dbg package with