mirror of https://github.com/CGAL/cgal
make maxflow header compatible with the license checking mecanism
This commit is contained in:
parent
39e4fdd3ed
commit
5ea5bc95fd
|
|
@ -242,6 +242,16 @@ void main()
|
|||
#ifndef __MAXFLOW_BLOCK_H__
|
||||
#define __MAXFLOW_BLOCK_H__
|
||||
|
||||
# if defined(CGAL_LICENSE_WARNING)
|
||||
CGAL_pragma_warning("\nYou use the MaxFlow package of Vladimir Kolmogorov under the terms of the GPLv2+.")
|
||||
# endif // CGAL_LICENSE_WARNING
|
||||
|
||||
# ifdef CGAL_LICENSE_ERROR
|
||||
# error "You use the the MaxFlow package of Vladimir Kolmogorov under the terms of the GPLv2+.\
|
||||
You get this error, as you defined CGAL_LICENSE_ERROR."
|
||||
# endif // CGAL_LICENSE_ERROR
|
||||
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
/***********************************************************************/
|
||||
|
|
|
|||
Loading…
Reference in New Issue