build system: add pkg-config support (#674)

This commit is contained in:
Alexandru-Sergiu Marton
2021-03-18 10:07:05 +02:00
committed by Michele Caini
parent f9c995f03f
commit 1ebf614d79
2 changed files with 22 additions and 0 deletions

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

@@ -0,0 +1,8 @@
prefix=@CMAKE_INSTALL_PREFIX@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
Name: EnTT
Description: Fast and reliable entity component system (ECS)
Url: https://github.com/skypjack/entt
Version: @EnTT_VERSION@
Cflags: -I${includedir}