Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] problem with CGAL and CMAKE - mostly SOLVED

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] problem with CGAL and CMAKE - mostly SOLVED


Chronological Thread 
  • From: "anthony" <>
  • To:
  • Subject: Re: [cgal-discuss] problem with CGAL and CMAKE - mostly SOLVED
  • Date: Thu, 2 Aug 2012 11:36:37 +0200 (CEST)

Hello,

I've been investigating this problem for some hours yersterday.
I do confirm the fact that the CGAL_LIBRARY variable (and her kin) are
incorrectly set to the *directory* holding the libs instead of the libs
themselves, as both the name and the warning suggest.

The lib/CGAL/CGALConfig.cmake file is assembled at CGAL build (resp.
installation) time from the current CMake variables' value and template in
CGAL-4.0\cmake\modules\CGALConfig_binary.cmake.in (resp.
CGALConfig_install.cmake.in). The templates seems OK [l.42] but the
CGAL_LIBRARY variable is empty (CGAL-4-0\CMakeLists.txt:630).

I was not able to go further than this point.
And the magic is that my project using CGAL DOES compiles OK, and I can't
figure how.
But I can't just go on with the warning.

I suspect so-called auto-link feature is implied because it does no make sense
(at least to me for now) to freeze in the lib/CGAL/CGALConfig.cmake file the
kind of compilation option the clinet project will use...
I'm very willing to contribute a patch but I would need some help from CGAL /
CMake gurus to do so. Thanks.

--
Anthony

PS : I'm a newcomer here, so please don't hesitate to tell me The Way if I
wander far from it !



Archive powered by MHonArc 2.6.18.

Top of Page