mirror of https://github.com/CGAL/cgal
add dependendency on svg
This commit is contained in:
parent
2bf6e15e96
commit
1a3e0e001b
|
|
@ -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} )
|
||||
|
||||
|
|
|
|||
|
|
@ -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 )
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue