[geos-devel] [#317] Build configuration for CMake build system
mateusz at loskot.net
Wed Jan 27 17:13:45 EST 2010
Sandro Santilli wrote:
> On Sat, Jan 23, 2010 at 2:40 AM, Mateusz Loskot <mateusz at loskot.net> wrote:
>> The CMakeLists.txt in root was performing incorrect checks.
>> It should be fine now, I hope.
> Still no lack. platform.h dropped, cmake ../trunk re-run.
> The new platform still doesn't contain any valid FINITE function:
> /* Set to 1 if C++/C99 std::isfinite is defined */
> /* #undef HAVE_STD_ISFINITE */
> /* Set to 1 if C99 isfinite is defined */
> /* #undef HAVE_ISFINITE */
> /* Set to 1 if Visual C++ finite is defined */
> /* #undef HAVE_FINITE */
> This is r2888.
I hope I've fixed it:
I explicitly add -D_ISOC99_SOURCE=1 for checks of isfinite and it passes
Could you give it another shot and test?
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
More information about the geos-devel