Added CMake Install.

This commit is contained in:
Maurice Grönwoldt 2023-09-02 14:17:56 +02:00
commit 4367534a33
13 changed files with 68 additions and 18 deletions

9
pkg/vweb-config.cmake.in Normal file
View file

@ -0,0 +1,9 @@
# Compute installation prefix relative to this file.
get_filename_component(_dir "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(_prefix "${_dir}/../.." ABSOLUTE)
# Import the targets.
include("${_prefix}/lib/VWeb-@version@/VWeb-targets.cmake")
# Report other information.
set(VWeb_INCLUDE_DIRS "${_prefix}/include/VWeb-@version@")