diff options
| author | Maxime Gimeno <maxime.gimeno@gmail.com> | 2019-10-18 14:13:17 +0200 |
|---|---|---|
| committer | Maxime Gimeno <maxime.gimeno@gmail.com> | 2019-10-18 14:15:34 +0200 |
| commit | f9a99f63170221467203069611941813de566969 (patch) | |
| tree | a0ed8bfc33121268a5b3e8f3f34088588315cb65 | |
| parent | 1302ba6fa7797960e1a6cacee001fc4e67333c13 (diff) | |
| download | vcpkg-f9a99f63170221467203069611941813de566969.tar.gz vcpkg-f9a99f63170221467203069611941813de566969.zip | |
Add usage file
| -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) |
