From 1a3e0e001bc8f6ae9cccbe10e89d0a82ba032083 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Mon, 6 Jul 2015 16:31:56 +0200 Subject: [PATCH] add dependendency on svg --- AABB_tree/demo/AABB_tree/CMakeLists.txt | 4 ++-- GraphicsView/demo/Triangulation_2/CMakeLists.txt | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/AABB_tree/demo/AABB_tree/CMakeLists.txt b/AABB_tree/demo/AABB_tree/CMakeLists.txt index 82e8661b536..c044cd7f611 100644 --- a/AABB_tree/demo/AABB_tree/CMakeLists.txt +++ b/AABB_tree/demo/AABB_tree/CMakeLists.txt @@ -20,7 +20,7 @@ find_package(CGAL REQUIRED COMPONENTS Qt5 ) include( ${CGAL_USE_FILE} ) # Find Qt5 itself -find_package(Qt5 COMPONENTS Xml Script OpenGL Gui) +find_package(Qt5 COMPONENTS Xml Script OpenGL Gui Svg) # Find OpenGL find_package(OpenGL) @@ -54,7 +54,7 @@ if(CGAL_FOUND AND CGAL_Qt5_FOUND AND Qt5_FOUND AND OPENGL_FOUND AND QGLVIEWER_FO "${CMAKE_CURRENT_BINARY_DIR}/Scene_moc.cpp" ) add_executable ( AABB_demo AABB_demo.cpp ${UI_FILES} ${RESOURCE_FILES} ) - qt5_use_modules(AABB_demo Gui OpenGL Xml Script ) + qt5_use_modules(AABB_demo Gui OpenGL Xml Script Svg ) # Link with Qt libraries target_link_libraries( AABB_demo ${QT_LIBRARIES} ) diff --git a/GraphicsView/demo/Triangulation_2/CMakeLists.txt b/GraphicsView/demo/Triangulation_2/CMakeLists.txt index cd49ef17f1e..3bb597efee3 100644 --- a/GraphicsView/demo/Triangulation_2/CMakeLists.txt +++ b/GraphicsView/demo/Triangulation_2/CMakeLists.txt @@ -15,7 +15,7 @@ find_package(CGAL REQUIRED COMPONENTS Qt5) include(${CGAL_USE_FILE}) -find_package(Qt5 COMPONENTS Xml Script OpenGL) +find_package(Qt5 COMPONENTS Xml Script OpenGL Svg) include_directories (BEFORE ../../include) include_directories (BEFORE ./include) @@ -44,7 +44,7 @@ qt5_generate_moc( "Constrained_Delaunay_triangulation_2.cpp" "${CMAKE_CURRENT_BI # The executable itself. add_executable ( Constrained_Delaunay_triangulation_2 Constrained_Delaunay_triangulation_2.cpp Constrained_Delaunay_triangulation_2.moc ${CDT_UI_FILES} ${CDT_RESOURCE_FILES} ) -qt5_use_modules(Constrained_Delaunay_triangulation_2 Xml Script OpenGL) +qt5_use_modules(Constrained_Delaunay_triangulation_2 Xml Script OpenGL Svg) add_to_cached_list( CGAL_EXECUTABLE_TARGETS Constrained_Delaunay_triangulation_2 ) @@ -68,7 +68,7 @@ qt5_generate_moc( "Delaunay_triangulation_2.cpp" "${CMAKE_CURRENT_BINARY_DIR}/De # The executable itself. add_executable ( Delaunay_triangulation_2 Delaunay_triangulation_2.cpp Delaunay_triangulation_2.moc ${DT_UI_FILES} ${DT_RESOURCE_FILES} ) -qt5_use_modules(Delaunay_triangulation_2 Xml Script OpenGL) +qt5_use_modules(Delaunay_triangulation_2 Xml Script OpenGL Svg) add_to_cached_list( CGAL_EXECUTABLE_TARGETS Delaunay_triangulation_2 ) @@ -92,7 +92,7 @@ qt5_generate_moc( "Regular_triangulation_2.cpp" "${CMAKE_CURRENT_BINARY_DIR}/Reg # The executable itself. add_executable ( Regular_triangulation_2 Regular_triangulation_2.cpp Regular_triangulation_2.moc ${DT_UI_FILES} ${DT_RESOURCE_FILES} ) -qt5_use_modules(Regular_triangulation_2 Xml Script OpenGL) +qt5_use_modules(Regular_triangulation_2 Xml Script OpenGL Svg) add_to_cached_list( CGAL_EXECUTABLE_TARGETS Regular_triangulation_2 )