mirror of https://github.com/CGAL/cgal
Protected from being compiled without leda
This commit is contained in:
parent
31aef75a06
commit
88f43c96bd
|
|
@ -1,4 +1,16 @@
|
|||
#include <CGAL/basic.h>
|
||||
|
||||
#ifndef CGAL_USE_LEDA
|
||||
#include <iostream>
|
||||
int main()
|
||||
{
|
||||
std::cout << "Sorry, this demo needs LEDA for visualisation.";
|
||||
std::cout << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/MP_Float.h>
|
||||
#include <CGAL/Quotient.h>
|
||||
|
|
@ -261,3 +273,5 @@ int main(int argc, char * argv[])
|
|||
delete myWindow;
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue