Quick and dirty install target

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-08-24 21:33:29 +03:00
parent 34ce572098
commit e457d0f362
3 changed files with 52 additions and 0 deletions

8
cmake/smath.pc.in Normal file
View File

@@ -0,0 +1,8 @@
prefix=@CMAKE_INSTALL_PREFIX@
includedir=${prefix}/include
Name: smath
Description: Simple header-only math library
Version: @PROJECT_VERSION@
Cflags: -I${includedir}
Libs:

View File

@@ -0,0 +1,4 @@
@PACKAGE_INIT@
include("${CMAKE_CURRENT_LIST_DIR}/smathTargets.cmake")
check_required_components(smath)