mirror of https://github.com/CGAL/cgal
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:
parent
9e85c79ff3
commit
071f5cbfe5
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue