cgal/Stream_support
Laurent Rineau 584957eb19 Fix a bad merge from PR "Re-organize I/O #4255"
Before my fix, the CMakeLists.txt could be sum-up that way:

```cmake
find_package(CGAL REQUIRED)
find_package(Boost QUIET)

if(NOT Boost_FOUND)
  message(
    STATUS "This project requires the Boost library, and will not be compiled.")

    create_single_source_cgal_program( "Point_WKT.cpp" )
    # [...]
else ()
  message(STATUS "This project requires the CGAL library, and will not be compiled.")
  return()
endif()
```

So, on *all platform*, as Boost is mandatory and always found, the
behavior was to display "This project requires the CGAL library, and
will not be compiled." and return, without configuring any target.

I have simplified the `CMakeLists.txt` to the simplest:

```cmake
cmake_minimum_required(VERSION 3.1...3.20)
project(Stream_support_Examples)

find_package(CGAL REQUIRED)

create_single_source_cgal_program( "Point_WKT.cpp" )
```

- `cmake_minimum_required` is mandatory and must be the first line,
- `project` is mandatory,
- `find_package(CGAL REQUIRED)`: no need to test `CGAL_FOUND`, because
  CGAL is required anyway. No need to search for Boost, because that is
  an implementation detail of CGAL, and the CMake file
  `CGALConfig.cmake` deals with that dependency
- and then the declaration of the targets.
2021-10-27 12:03:36 +02:00
..
benchmark/Stream_support move documented IO functions in IO namespace 2021-05-05 13:15:37 +02:00
doc/Stream_support Clarify binary warning 2021-09-27 15:33:42 +02:00
examples/Stream_support Fix a bad merge from PR "Re-organize I/O #4255" 2021-10-27 12:03:36 +02:00
include/CGAL Misc cleaning 2021-09-27 15:35:40 +02:00
package_info/Stream_support Try to remove Filtered_kernel from the dependencies of BGL 2021-01-11 14:11:30 +01:00
test/Stream_support update to valid format 2021-07-30 10:07:33 +02:00