cgal/Installation/test/Installation/link_to_CGAL.cpp

11 lines
243 B
C++

// Use something defined not in headers but in the CGAL library to test that is was indeed properly built and linked to,
#include <CGAL/IO/Color.h>
int main()
{
volatile const CGAL::Color* c = &CGAL::BLACK;
return (c != 0) ? 0 : 1;
}