mirror of https://github.com/CGAL/cgal
Fix `make demos`
The Arr_2 and Polyline_simplification_2 demos were not referenced in CGAL_EXECUTABLE_TARGETS.
This commit is contained in:
parent
4a7a614e5d
commit
1c70f5ec49
|
|
@ -67,13 +67,15 @@ if ( CGAL_FOUND AND CGAL_Qt5_FOUND AND Qt5_FOUND)
|
|||
${arrangement_2_uis}
|
||||
${arrangement_2_resources}
|
||||
)
|
||||
qt5_use_modules(arrangement_2 Widgets Script)
|
||||
qt5_use_modules(arrangement_2 Widgets Script)
|
||||
target_link_libraries( arrangement_2
|
||||
${CGAL_LIBRARIES}
|
||||
${CGAL_3RD_PARTY_LIBRARIES}
|
||||
${QT_LIBRARIES}
|
||||
)
|
||||
|
||||
add_to_cached_list( CGAL_EXECUTABLE_TARGETS arrangement_2 )
|
||||
|
||||
else()
|
||||
|
||||
message(STATUS "NOTICE: This demo requires CGAL and Qt5, and will not be compiled.")
|
||||
|
|
|
|||
|
|
@ -43,6 +43,8 @@ target_link_libraries( Polyline_simplification_2 ${QT_LIBRARIES} )
|
|||
# Link with CGAL
|
||||
target_link_libraries( Polyline_simplification_2 ${CGAL_LIBRARIES} ${CGAL_3RD_PARTY_LIBRARIES})
|
||||
|
||||
add_to_cached_list( CGAL_EXECUTABLE_TARGETS Polyline_simplification_2 )
|
||||
|
||||
else()
|
||||
|
||||
message(STATUS "NOTICE: This demo requires CGAL and Qt5, and will not be compiled.")
|
||||
|
|
|
|||
Loading…
Reference in New Issue