procwatch/overlays/libnotify/portfile.cmake

10 lines
369 B
CMake

set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
file(COPY "${CMAKE_CURRENT_LIST_DIR}/libnotify-config.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/libnotify")
file(WRITE "${CURRENT_PACKAGES_DIR}/share/libnotify/usage" [[
The package libnotify provides CMake targets:
find_package(libnotify REQUIRED)
target_link_libraries(main PRIVATE libnotify::libnotify)
]])