From 8fc6cec7b6d6b21899d2641a784a6b991a00c49d Mon Sep 17 00:00:00 2001 From: Eric Berberich Date: Tue, 31 Jan 2012 13:22:02 +0000 Subject: [PATCH] added missing lib --- Installation/cmake/modules/CGAL_Macros.cmake | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Installation/cmake/modules/CGAL_Macros.cmake b/Installation/cmake/modules/CGAL_Macros.cmake index 83b0db5c1e8..ddd0a51e650 100644 --- a/Installation/cmake/modules/CGAL_Macros.cmake +++ b/Installation/cmake/modules/CGAL_Macros.cmake @@ -279,12 +279,20 @@ if( NOT CGAL_MACROS_FILE_INCLUDED ) add_to_list( CGAL_3RD_PARTY_DEFINITIONS ${CGAL_${component}_3RD_PARTY_DEFINITIONS} ) add_to_list( CGAL_3RD_PARTY_LIBRARIES_DIRS ${CGAL_${component}_3RD_PARTY_LIBRARIES_DIRS} ) - # TODO EBEB: What about GMP, MPFR, zlib used in other libCGALxyz + # Nothing to add for Core + + if (${component} STREQUAL "ImageIO") + find_package( OpenGL ) + find_package( zlib ) + endif() + if (${component} STREQUAL "Qt3") + find_package( OpenGL ) find_package( Qt3-patched ) endif() if (${component} STREQUAL "Qt4") + find_package( OpenGL ) find_package( Qt4 ) endif()