mirror of https://github.com/CGAL/cgal
A CMakeLists.txt needs to link its targets explicitely, even if
${CGAL_USE_FILE} is included.
This commit is contained in:
parent
d5d18a2531
commit
3ca7367868
|
|
@ -26,4 +26,8 @@ add_executable ( alpha_shapes_2
|
|||
Qt_widget_toolbar.cpp Qt_widget_toolbar.moc
|
||||
Qt_widget_toolbar_layers.cpp Qt_widget_toolbar_layers.moc )
|
||||
|
||||
|
||||
if ( AUTO_LINK_ENABLED )
|
||||
target_link_libraries( alpha_shapes_2 ${CGAL_3RD_PARTY_LIBRARIES} )
|
||||
else()
|
||||
target_link_libraries( alpha_shapes_2 ${CGAL_3RD_PARTY_LIBRARIES} ${CGAL_LIBRARIES} )
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue