cmake: make sdl3.pc relocatable

This commit is contained in:
Anonymous Maarten
2023-01-15 20:01:58 +01:00
committed by Sam Lantinga
parent 0a1479d58c
commit 6d11515873
2 changed files with 47 additions and 41 deletions

View File

@@ -1,6 +1,6 @@
# sdl pkg-config source file
prefix=@CMAKE_INSTALL_PREFIX@
prefix=@SDL_PKGCONFIG_PREFIX@
exec_prefix=${prefix}
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@