Skip to content

Commit

Permalink
Replace link test using Random instead of Color
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiraudot authored and afabri committed Apr 3, 2019
1 parent e749273 commit 428195e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Installation/test/Installation/link_to_CGAL.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// 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>
#include <CGAL/Random.h>

int main()
{
volatile const CGAL::Color* c = &CGAL::BLACK;

return (c != 0) ? 0 : 1;
volatile const CGAL::Random* r = &CGAL::get_default_random();
return int(r != 0);
}

0 comments on commit 428195e

Please sign in to comment.