Removed CGAL_NO_LEDA_HANDLE macro definition.

The patch applied to install_cgal for CGAL_QT_LDFLAGS when Qt is not installed works also when you use Leda and don't use Qt.
This commit is contained in:
Radu Ursu 2002-11-04 13:52:38 +00:00
parent 9e85c79ff3
commit 071f5cbfe5
1 changed files with 14 additions and 21 deletions

View File

@ -1,24 +1,17 @@
#ifdef CGAL_USE_LEDA
#define CGAL_NO_LEDA_HANDLE
#endif
#ifndef CGAL_USE_QT
#include <iostream>
int main(int, char*)
{
std::cout << "This platform does not have QT installed.";
std::cout << std::endl;
return 0;
}
#include <iostream>
int main(int, char*)
{
std::cout << "This platform does not have QT installed.";
std::cout << std::endl;
return 0;
}
#else
#include <iostream>
#include <qglobal.h>
int main(char*, char**)
{
std::cout << QT_VERSION << std::endl;
return 0;
}
#include <iostream>
#include <qglobal.h>
int main(char*, char**)
{
std::cout << QT_VERSION << std::endl;
return 0;
}
#endif