Subject: CGAL users discussion list
List archive
- From: David Coeurjolly <>
- To: cgal-discuss <>
- Subject: [cgal-discuss] Weird cmake side-effect when including CGAL
- Date: Tue, 10 Sep 2013 09:45:52 +0200
Dear All,
I'm having a strange cmake issue when including CGAL to my project. For
short, my main CMakeLists.txt looks like:
INCLUDE ("cmake/CheckCGAL.cmake")
...
MESSAGE(STATUS "Ok...")
...
INCLUDE ("cmake/ChecKOtherPackageA.cmake")
INCLUDE ("cmake/ChecKOtherPackageB.cmake")
In CheckCGAL.cmake, there are the FIND_PACKAGE(CGAL) and the dedicated
"include( ${CGAL_USE_FILE} )". Note that there is no problem here.. CGAL is
found and all CGAL variables are fine.
In ChecKOtherPackageXXX.cmake, I have other dependency checks and plenty of
messages..
The problem: when I active the CGAL dependency, cmake refuses to include the
remaining ChecKOtherPackageXXX.cmake files. The message "Ok..." is displayed
but cmake skips the "include" directives.
If I turn off CGAL ( "if" on a flag in the CheckCGAL), all further
"include"(s) are fine.
Have you already seen such strange behavior ?
Thanks,
david
----------------
David Coeurjolly - Directeur de recherche CNRS
CNRS, LIRIS-UMR 5205
Université de Lyon
Batiment Nautibus
43 boulevard du 11 novembre 1918, 69622 Villeurbanne cedex, France
Tel : (+33) [0]4.72.44.82.40 Fax : (+33) [0]4.72.43.15.36
http://liris.cnrs.fr/david.coeurjolly
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
- [cgal-discuss] Weird cmake side-effect when including CGAL, David Coeurjolly, 09/10/2013
- [cgal-discuss] Re: Weird cmake side-effect when including CGAL, David Coeurjolly, 09/12/2013
- Re: [cgal-discuss] Weird cmake side-effect when including CGAL, Laurent Rineau (CGAL/GeometryFactory), 09/12/2013
- Re: [cgal-discuss] Weird cmake side-effect when including CGAL, David Coeurjolly, 09/12/2013
- Re: [cgal-discuss] Weird cmake side-effect when including CGAL, Laurent Rineau (CGAL/GeometryFactory), 09/12/2013
- Re: [cgal-discuss] Weird cmake side-effect when including CGAL, David Coeurjolly, 09/12/2013
- Re: [cgal-discuss] Weird cmake side-effect when including CGAL, Laurent Rineau (CGAL/GeometryFactory), 09/12/2013
- [cgal-discuss] Re: Weird cmake side-effect when including CGAL, David Coeurjolly, 09/12/2013
Archive powered by MHonArc 2.6.18.