Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


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

On 28.11.2012 17:23, Sascha Räsch wrote:
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





hi all,

a few weeks ago, I had a question about CGAL find scripts for cmake, i.e., using CGAL in another CMAKE-Project.
Unfourtnately, I got no answer to my question.
Could someone tell me who's the author of the CGAL find scripts?
I'm grateful for any ideas :).


Best regards,
Sascha




Archive powered by MHonArc 2.6.18.

Top of Page