Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] cmake static libs problem

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] cmake static libs problem


Chronological Thread 
  • From: Joachim Reichel <>
  • To:
  • Subject: Re: [cgal-discuss] cmake static libs problem
  • Date: Sat, 08 Aug 2009 20:11:34 +0200

Hi Matthias,

> I want to make a static build of CGAL 3.5 on a Linux machine. To do so the
> manual says to change the CMAKE_SHARED_LIBS=FALSE
> However it still builts shared libraries .so instead of .a !
> I can't find the flag with cmake-gui either. Is this a bug or where can I
> change the flag? I need a static libCGAL.a

it's a typo in the installation manual. BUILD_SHARED_LIBS=TRUE (see
INSTALL) should work (don't forget -D if you use the command line).

Joachim



Archive powered by MHonArc 2.6.16.

Top of Page