Add CMake export throught <name>Config.cmake and <name>TargetsCmake.cmake files

This commit is contained in:
Luca Pepè Sciarria
2025-01-27 16:37:23 +01:00
parent 7278dde01a
commit 26fb1ae755
2 changed files with 52 additions and 11 deletions
+11
View File
@@ -0,0 +1,11 @@
# Config file for the installed package
set(psblas_VERSION "@psblas_VERSION@")
# Include directories
set(psblas_INCLUDE_DIRS "@CMAKE_INSTALL_INCLUDEDIR@")
include(CMakeFindDependencyMacro)
# Provide the targets
include("${CMAKE_CURRENT_LIST_DIR}/@CMAKE_PROJECT_NAME@Targets.cmake")