install procedure and exporting targets

This commit is contained in:
Pcornat 2025-05-28 23:00:38 +02:00
parent 5f45e1ab25
commit cfebea3b74
Signed by: Pcornat
GPG key ID: E0326CC678A00BDD
2 changed files with 45 additions and 0 deletions

12
Config.cmake.in Normal file
View file

@ -0,0 +1,12 @@
@PACKAGE_INIT@
include("${CMAKE_CURRENT_LIST_DIR}/windowGlfwGlLibTargets.cmake")
include(CMakeFindDependencyMacro)
find_dependency(OpenGL REQUIRED)
find_dependency(GLEW REQUIRED)
find_dependency(glfw3 REQUIRED)
find_dependency(PkgConfig REQUIRED)
pkg_check_modules(Jemalloc REQUIRED IMPORTED_TARGET GLOBAL jemalloc)
check_required_components(windowGlfwGlLib)