Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] mingw64|win32 issues

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] mingw64|win32 issues


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] mingw64|win32 issues
  • Date: Fri, 11 Apr 2014 17:29:28 +0200
  • Organization: GeometryFactory

Le Thursday 10 April 2014 08:38:59 xantares 09 a écrit :
> 3. Export libraries (.dll) are properly installed to <PREFIX>/bin and import
> libraries (.dll.a) to <PREFIX>/lib. But in the CGALConfig.cmake file, the
> CGAL*_LIBRARY vars refer to the export library name in <PREFIX>/lib:
> set(CGAL_LIBRARY "/usr/i686-w64-mingw32/lib/libCGAL.dll")
> it should simply be:
> set(CGAL_LIBRARY "CGAL")
> as CGAL_LIBRARY_DIRS is used by UseCGAL, which is also a lot cleaner.
> Same for other CGAL*_LIBRARY vars.

I disagree. Our UseCGAL file should not use link_libraries with
CGAL_LIBRARY_DIRS, and should use imported targets, with full path to
libraries.

--
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