diff --git a/Installation/cmake/modules/UseCGAL.cmake b/Installation/cmake/modules/UseCGAL.cmake index 449639c97fd..075b6c17093 100644 --- a/Installation/cmake/modules/UseCGAL.cmake +++ b/Installation/cmake/modules/UseCGAL.cmake @@ -60,15 +60,15 @@ if(NOT USE_CGAL_FILE_INCLUDED) if (CGAL_HEADER_ONLY) add_definitions(-DCGAL_HEADER_ONLY) - if(NOT CGAL_NO_BLANKET_LINKING) + if(NOT CGAL_NO_BLANKET_LINKING) link_directories ( ${CGAL_3RD_PARTY_LIBRARIES_DIRS} ) link_libraries ( ${CGAL_3RD_PARTY_LIBRARIES} ) - endif() + endif() else() if(NOT CGAL_NO_BLANKET_LINKING) link_directories ( ${CGAL_LIBRARIES_DIR} ${CGAL_3RD_PARTY_LIBRARIES_DIRS} ) link_libraries ( ${CGAL_LIBRARIES} ${CGAL_3RD_PARTY_LIBRARIES} ) - endif() + endif() endif() endif()