Группа :: Науки/Математика
Пакет: cgal
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: cgal-4.10-alt-build.patch
Скачать
Скачать
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")