cmake: pass VERSION to project() + don't use SDL_VERSION

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2023-01-31 01:59:21 +01:00
1 parent 3aa456dead
commit 9cf34908a1
5 files changed
+25 -35

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
Name: sdl3
Description: Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer.
Version: @SDL_VERSION@
Version: @PROJECT_VERSION@
Requires.private: @SDL_PC_PRIVATE_REQUIRES@
Conflicts:
Libs: -L${libdir} @SDL_RLD_FLAGS@ @SDL_PC_LIBS@ @PKGCONFIG_LIBS_PRIV@ @SDL_PC_STATIC_LIBS@