Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] CGAL find script for cmake

Subject: CGAL users discussion list

List archive

[cgal-discuss] CGAL find script for cmake


Chronological Thread 
  • From: Sascha Räsch <>
  • To:
  • Subject: [cgal-discuss] CGAL find script for cmake
  • Date: Wed, 28 Nov 2012 17:23:54 +0100

hi all,

I've got a CMake-based project which requires CGAL.
Therefore, I'm using a CGAL find script, which I've found in my CGAL installation folder.
This script is located at:

{CGAL INSTALLATION FOLDER}/lib/CGAL/FindCGAL.cmake

If I'm right, this script searches the CGAL configuration located at:

{CGAL INSTALLATION FOLDER}/lib/CGAL/CGALConfig.cmake

Inside that configuration file, all include directories and libraries are specified with absolute paths.
Through the absolute paths, the library is not portable.
I'd like to copy the whole library to some other computer and compile my project without reinstalling and recompiling CGAL.

Is there a find script which avoids the CGAL config file or can I change the CMake-configuration of the CGAL-build
project s.t. the resulting CGALConfig.cmake file uses relative paths.


Thank you in advance,
Sascha






  • [cgal-discuss] CGAL find script for cmake, Sascha Räsch, 11/28/2012

Archive powered by MHonArc 2.6.18.

Top of Page