diff options
| -rw-r--r-- | ports/cgal/portfile.cmake | 1 | ||||
| -rw-r--r-- | ports/cgal/usage | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ports/cgal/portfile.cmake b/ports/cgal/portfile.cmake index bf883277d..2988d1540 100644 --- a/ports/cgal/portfile.cmake +++ b/ports/cgal/portfile.cmake @@ -60,4 +60,5 @@ file( DESTINATION ${CURRENT_PACKAGES_DIR}/share/cgal ) +file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/cgal) vcpkg_test_cmake(PACKAGE_NAME CGAL) diff --git a/ports/cgal/usage b/ports/cgal/usage new file mode 100644 index 000000000..eadb04977 --- /dev/null +++ b/ports/cgal/usage @@ -0,0 +1,4 @@ +The package cgal provides CMake targets: + + find_package(CGAL CONFIG REQUIRED) + target_link_libraries(main PRIVATE CGAL::CGAL) |
