Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] CMake: CGALExports references old so-version after update

Subject: CGAL users discussion list

List archive

[cgal-discuss] CMake: CGALExports references old so-version after update


Chronological Thread 
  • From: dlenz <>
  • To:
  • Subject: [cgal-discuss] CMake: CGALExports references old so-version after update
  • Date: Tue, 18 Jun 2019 09:45:19 -0500 (CDT)
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
  • Ironport-phdr: 9a23:Oe6ZzxDX2583P/mu51ypUyQJP3N1i/DPJgcQr6AfoPdwSPv+ocbcNUDSrc9gkEXOFd2Cra4d0ayO6+u8ByRAuc/H7ClbNsQUFlcssoY/p0QYGsmLCEn2frbBThcRO4B8bmJj5GyxKkNPGczzNBX4q3y26iMOSF2kbVImbuv6FZTPgMupyuu854PcYxlShDq6fLh+MAi6oR/eu8ULn4duMLo9xgfGrnZHeuld2GdkKU6Okxrm6cq84YNv/z5Mt/498sJLTLn3cbk/QbFEFjotLno75NfstRnNTAuP4mUTX2ALmRdWAAbL8Q/3UI7pviT1quRy1i+aPdbrTb8vQjSt871rSB7zhygZMTMy7XzahdZxjKJfpxKhugB/zovJa4ybKPZyYqXQds4cSGFcXMheSjZBD5uyYYUPEeQPPvtWoIbhqFUBtha+GQuhCP/zxjNUmnP6w6s32PkhHwHc2wwgGsoDv2nQrNrrMqcTUP2+wa7VwjrZcfNW2Cry5JLUfRw7pfGDQ7RwcMvMxUQ0GAPFi0+fqY3hPz+PyusNtG2b4vNmWOmyhWAnrARxrSKuxscqkoTJgJgaxUvf+iV93ok5P8G3SEl+YdOiDZBetDmaOpNrTs4mR2xkoig3x74ctZO4fSUG0pUqyh/ZZveaaYaH+AjjW/yUITpghHJqZra/hxGq/EimxeDwTM+030xRoSVeltnDqGoB2ADU6siCUvd9/0Gh1iiT1w3L9+1JJUQ5mbDVJpMi2LI9lZsevV7CEyL3gEn2ibWZdkQg+uim8eTnZbDmq4eBOIBulAH+M7khltajDugiNggBQW6b+OWh2LD48k35Ra9FjvwykqXDrJ/aIsEbqrajAwBJyoYj9wq/DzC+3dsEknkINlZFdAuagIjoIFHBPO34Deykg1m3izdqx/XGPqX7DZnXL3jDlq3hfbdn5EJGxgoz14MX25UBAb4IJLf/W1T6qcfDJh4/KQ29hej9W/tn0YZLVWaCBL3RZK/br16EoOlpJ+SKdtY9tzP0Kvxj7Pnr2yxq0WQBdLWkiMNEIEuzGe5rdh3AMCjcx+wZGGJPhTIQCenjiVmMSzlWPi/gUKc15zV9A4WjX9yaG9KdxYeZ1SL+JaV4I2BLDlfVTCXuK8OCUv0GbC/UKchkwGVdCeqRDrQ53BTrjzfUjqJ9J7ONqCIdvJPnktNy4r+LmA==

Hi,

I recently downloaded and installed CGAL 4.14 for use in one of my projects;
previously I have been working with CGAL 4.13. My project is built with
CMake, so I build with CGAL using find_package(). Since updating to CGAL
4.14, my CMake configuration is failing.

The error reported from CMake is:

CMake Error at /usr/local/lib64/cmake/CGAL/CGALExports.cmake:81 (message):
The imported target "CGAL::CGAL" references the file
"/usr/local/lib64/libCGAL.so.13.0.2"
but this file does not exist.

After installing CGAL 4.14, the correct library should be libCGAL.so.13.0.3.
I'm sure I've made a simple mistake here, but I can't track it down. Could
anyone guess why CGALExports would be referring to an old install?

As far as I can tell, the configuration, build, and installation of CGAL
4.14 proceeded without a hitch, so I don't believe the issue is there.
Clearly though, I have done something wrong.

In my CMakeLists.txt, the only references to CGAL are:
set( CGAL_DIR /usr/local/lib64/cmake/CGAL )
set( CMAKE_BUILD_TYPE Release )
find_package(CGAL REQUIRED)
[...]
target_link_libraries( <target> CGAL::CGAL )

I have tried removing my build/ directory to completely restart the build
process, but the issue persists.

Thank you for your help!! I am still somewhat new to CMake, so I welcome
any critiques of my method for including CGAL via CMake.

Best regards,
David



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/



Archive powered by MHonArc 2.6.18.

Top of Page