aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Gimeno <maxime.gimeno@gmail.com>2019-10-18 14:13:17 +0200
committerMaxime Gimeno <maxime.gimeno@gmail.com>2019-10-18 14:15:34 +0200
commitf9a99f63170221467203069611941813de566969 (patch)
treea0ed8bfc33121268a5b3e8f3f34088588315cb65
parent1302ba6fa7797960e1a6cacee001fc4e67333c13 (diff)
downloadvcpkg-f9a99f63170221467203069611941813de566969.tar.gz
vcpkg-f9a99f63170221467203069611941813de566969.zip
Add usage file
-rw-r--r--ports/cgal/portfile.cmake1
-rw-r--r--ports/cgal/usage4
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)