mirror of https://github.com/CGAL/cgal
add_dependencies( Polygon_2 ${CGAL_LIBRARY} ) is useless
Ar the target Polygon_2 links with the CGAL library, CMake already creates a dependency.
This commit is contained in:
parent
601d2c5fca
commit
a7a89c25b7
|
|
@ -58,8 +58,6 @@ if ( CGAL_FOUND AND CGAL_Qt4_FOUND AND QT4_FOUND )
|
||||||
# And with CGAL libraries
|
# And with CGAL libraries
|
||||||
target_link_libraries( Polygon_2 ${CGAL_LIBRARIES} ${CGAL_3RD_PARTY_LIBRARIES} )
|
target_link_libraries( Polygon_2 ${CGAL_LIBRARIES} ${CGAL_3RD_PARTY_LIBRARIES} )
|
||||||
|
|
||||||
add_dependencies( Polygon_2 ${CGAL_LIBRARY} )
|
|
||||||
|
|
||||||
else()
|
else()
|
||||||
|
|
||||||
message(STATUS "NOTICE: This demo requires CGAL, CGAL_Core, and Qt4, and will not be compiled.")
|
message(STATUS "NOTICE: This demo requires CGAL, CGAL_Core, and Qt4, and will not be compiled.")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue