Fix `make demos`

The Arr_2 and Polyline_simplification_2 demos were not referenced in
CGAL_EXECUTABLE_TARGETS.
This commit is contained in:
Laurent Rineau 2015-04-03 13:07:00 +02:00
parent 4a7a614e5d
commit 1c70f5ec49
2 changed files with 5 additions and 1 deletions

View File

@ -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.")

View File

@ -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.")