Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: Re: [cgal-discuss] problem with CGAL and CMAKE - mostly SOLVED
  • Date: Thu, 02 Aug 2012 13:15:35 +0200
  • Organization: GeometryFactory

Le jeudi 02 août 2012 11:36:37 anthony a écrit :
> 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.

Indeed on Windows, when MSVC is used, the CGAL*LIBRARY variables are empty,
on
purpose, because the auto-linking i used.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.18.

Top of Page