mirror of https://github.com/CGAL/cgal
Supress test when LEDA not available cleanly
This commit is contained in:
parent
e291c7f4ad
commit
417ed40ca7
|
|
@ -1,4 +1,14 @@
|
|||
#include <CGAL/basic.h>
|
||||
|
||||
#if !defined(CGAL_USE_LEDA)
|
||||
#include <iostream>
|
||||
int main()
|
||||
{
|
||||
std::cout << "LEDA is not installed. Test aborted!" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
|
||||
#include <CGAL/Cartesian.h>
|
||||
#include <CGAL/leda_real.h>
|
||||
|
||||
|
|
@ -378,4 +388,4 @@ int main (int argc, char** argv)
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue