cgal/Installation/test/Installation/link_to_CGAL_ImageIO.cpp

14 lines
284 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/ImageIO.h>
int main()
{
volatile _image* i = _initImage();
bool ok = (i != 0);
_freeImage(const_cast<_image*>(i));
return ok ? 0 : 1;
}