mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 19:05:59 -04:00
Mention cmake module file
This commit is contained in:
parent
0834e4864e
commit
4254cc94e4
14
README.md
14
README.md
@ -153,9 +153,19 @@ variable:
|
|||||||
|
|
||||||
SDL2pp installs pkg-config file, so it can be used with any build
|
SDL2pp installs pkg-config file, so it can be used with any build
|
||||||
system which interacts with pkg-config, including CMake and GNU
|
system which interacts with pkg-config, including CMake and GNU
|
||||||
Autotools.
|
Autotools. It also installs CMake module file, which can be used
|
||||||
|
from CMake directly:
|
||||||
|
|
||||||
SDL2pp is also already available from following package repositories:
|
```cmake
|
||||||
|
FIND_PACKAGE(SDL2PP REQUIRED)
|
||||||
|
|
||||||
|
INCLUDE_DIRECTORIES(${SDL2PP_INCLUDE_DIRS})
|
||||||
|
...
|
||||||
|
TARGET_LINK_LIBRARIES(... ${SDL2PP_LIBRARIES})
|
||||||
|
```
|
||||||
|
|
||||||
|
SDL2pp is also already available from the following package
|
||||||
|
repositories:
|
||||||
|
|
||||||
* [Arch Linux AUR](https://aur.archlinux.org/packages/sdl2pp-git/)
|
* [Arch Linux AUR](https://aur.archlinux.org/packages/sdl2pp-git/)
|
||||||
* [DragonflyBSD DPorts](https://github.com/DragonFlyBSD/DPorts/tree/master/devel/sdl2pp)
|
* [DragonflyBSD DPorts](https://github.com/DragonFlyBSD/DPorts/tree/master/devel/sdl2pp)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user