Subject: CGAL users discussion list
List archive
[cgal-discuss] Tutorial: Patch cmake for visual studio and eigen (or any other platform and library)
Chronological Thread
- From: Zohar <>
- To:
- Subject: [cgal-discuss] Tutorial: Patch cmake for visual studio and eigen (or any other platform and library)
- Date: Fri, 16 Mar 2012 18:28:51 -0700 (PDT)
I tried to add eigen3 support to cgal using the cmake-gui for vs2010, but
with no avail. No matter what I set in the environment variables, cmake kept
complaining that it couldn't find eigen include dir and version. Setting
them manually in cmake didn't help either (the internal script just rewrote
them). So I searched for this notorious script, FindEigen3.cmake, and I
rewrote it with:
set(EIGEN3_FOUND TRUE)
set(EIGEN3_VERSION_OK TRUE)
set(EIGEN3_USE_FILE "UseEigen3")
set(EIGEN3_VERSION "3.0.92")
set(Eigen3_FIND_VERSION "3.0.92")
set(EIGEN3_INCLUDE_DIR "c:/prj-external-libs/eigen-eigen/")
The comments on the top of the original FindEigen3.cmake hint which
variables are going to be set, and if you look for the string "set(" you
might find additional variables that cmake is going to complain about.
I think that this method should work for any stubborn library on any
platform.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Tutorial-Patch-cmake-for-visual-studio-and-eigen-or-any-other-platform-and-library-tp4479845p4479845.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Tutorial: Patch cmake for visual studio and eigen (or any other platform and library), Zohar, 03/17/2012
- Re: [cgal-discuss] Tutorial: Patch cmake for visual studio and eigen (or any other platform and library), Sebastien Loriot (GeometryFactory), 03/20/2012
- [cgal-discuss] Re: Tutorial: Patch cmake for visual studio and eigen (or any other platform and library), Zohar, 03/20/2012
- Re: [cgal-discuss] Re: Tutorial: Patch cmake for visual studio and eigen (or any other platform and library), Sebastien Loriot (GeometryFactory), 03/26/2012
- [cgal-discuss] Re: Tutorial: Patch cmake for visual studio and eigen (or any other platform and library), Zohar, 03/20/2012
- Re: [cgal-discuss] Tutorial: Patch cmake for visual studio and eigen (or any other platform and library), Sebastien Loriot (GeometryFactory), 03/20/2012
Archive powered by MHonArc 2.6.16.