Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37550869
en ru br
ALT Linux repos
S:5.3-alt2

Group :: Sciences/Mathematics
RPM: cgal

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: cgal-4.10-alt-build.patch
Download


diff --git a/CGAL/src/CGAL_Core/CMakeLists.txt b/CGAL/src/CGAL_Core/CMakeLists.txt
index b9dba58..e9b2f36 100644
--- a/CGAL/src/CGAL_Core/CMakeLists.txt
+++ b/CGAL/src/CGAL_Core/CMakeLists.txt
@@ -20,11 +20,11 @@ collect_cgal_library(CGAL_Core "")
 if(NOT CGAL_HEADER_ONLY)
    # CGAL_Core does not depend on CGAL in either DEBUG or RELEASE, but we
    # still link it.
-   target_link_libraries( CGAL_Core CGAL ${CGAL_3RD_PARTY_LIBRARIES} )
+   target_link_libraries( CGAL_Core CGAL ${CGAL_3RD_PARTY_LIBRARIES} ${CGAL_Core_3RD_PARTY_LIBRARIES} )
 
    add_dependencies( CGAL_Core CGAL )
 else()
-  target_link_libraries( CGAL_Core INTERFACE ${CGAL_3RD_PARTY_LIBRARIES} )
+  target_link_libraries( CGAL_Core INTERFACE ${CGAL_3RD_PARTY_LIBRARIES} ${CGAL_Core_3RD_PARTY_LIBRARIES} )
 endif()
 
 message("libCGAL_Core is configured")
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin