mirror of https://github.com/CGAL/cgal
Add some caching in new demos
This commit is contained in:
parent
fe7d83d67e
commit
92c9250855
|
|
@ -28,6 +28,7 @@ if(CGAL_FOUND AND CGAL_Qt5_FOUND AND Qt5_FOUND AND (CGAL_Core_FOUND OR LEDA_FOUN
|
|||
|
||||
# cpp files
|
||||
add_executable ( HDT2 HDT2.cpp ${CGAL_Qt5_RESOURCE_FILES} ${RESOURCE_FILES} ${UIS})
|
||||
add_to_cached_list( CGAL_EXECUTABLE_TARGETS HDT2 )
|
||||
target_link_libraries ( HDT2 CGAL::CGAL CGAL::CGAL_Qt5 CGAL::CGAL_Core Qt5::Widgets)
|
||||
else()
|
||||
message(STATUS "NOTICE: This demo requires CGAL, CGAL_Core (or LEDA), and Qt5 and will not be compiled.")
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ if(CGAL_FOUND AND (CGAL_Core_FOUND OR LEDA_FOUND) AND Qt5_FOUND AND CGAL_Qt5_FOU
|
|||
if(LEDA_FOUND)
|
||||
target_link_libraries( P4HDT2 PRIVATE ${LEDA_LIBRARIES} )
|
||||
endif()
|
||||
add_to_cached_list( CGAL_EXECUTABLE_TARGETS P4HDT2 )
|
||||
else()
|
||||
message(STATUS "NOTICE: This demo requires Qt5 and will not be compiled.")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue