mirror of https://github.com/CGAL/cgal
Use CGAL::CGAL instead of CGAL
This commit is contained in:
parent
8f2fa4f637
commit
f9835007e5
|
|
@ -45,7 +45,9 @@ if(NOT USE_CGAL_FILE_INCLUDED)
|
||||||
|
|
||||||
include_directories( "${CMAKE_CURRENT_BINARY_DIR}" )
|
include_directories( "${CMAKE_CURRENT_BINARY_DIR}" )
|
||||||
|
|
||||||
if(TARGET CGAL)
|
if(TARGET CGAL::CGAL)
|
||||||
|
add_to_list( CGAL_LIBRARIES CGAL::CGAL )
|
||||||
|
elseif(TARGET CGAL)
|
||||||
add_to_list( CGAL_LIBRARIES CGAL )
|
add_to_list( CGAL_LIBRARIES CGAL )
|
||||||
else()
|
else()
|
||||||
add_to_list( CGAL_LIBRARIES ${CGAL_LIBRARY} )
|
add_to_list( CGAL_LIBRARIES ${CGAL_LIBRARY} )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue