> Doesn't seem to be fixed:
> 
> $ grep CGAL_CXX_FLAGS_INIT 
> /usr/lib/x86_64-linux-gnu/cmake/CGAL/CGALConfig.cmake 
> set(CGAL_CXX_FLAGS_INIT                   "-g -O2 
> -fdebug-prefix-map=/build/cgal-KLLrNy/cgal-4.12=. -fstack-protector-strong 
> -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time 
> -D_FORTIFY_SOURCE=2" )

The flags are still there, but they are not used when compiling programs using
CGAL. E.g. when using cgal_create_cmake_script on a trivial foo.cpp file
containing a main() function we get

/usr/bin/c++ -DCGAL_USE_GMP -DCGAL_USE_GMPXX -DCGAL_USE_GMPXX=1 -DCGAL_USE_MPFR
-isystem /usr/include/x86_64-linux-gnu -I/tmp/x -frounding-math -o
CMakeFiles/foo.dir/foo.cpp.o -c /tmp/x/foo.cpp

/usr/bin/c++ -rdynamic CMakeFiles/foo.dir/foo.cpp.o -o foo -lmpfr -lgmpxx -lgmp
/usr/lib/x86_64-linux-gnu/libCGAL.so.13.0.2 -lmpfr -lgmpxx -lgmp

  Joachim

Reply via email to