Kai Pastor 4be7ab52e8
[sdl2pp] Fix exported pc file, cleanup (#25968)
* Fix exported pc file

* Fix sdl2 import

* Move Find module to 'share/${PORT}'

* Fix usage instructions

* Trim dependencies patch

* Update versions
2022-07-25 16:37:32 -07:00

6 lines
208 B
Plaintext

The package sdl2pp provides CMake variables:
find_package(SDL2PP REQUIRED)
target_include_directories(main PRIVATE ${SDL2PP_INCLUDE_DIRS})
target_link_libraries(main PRIVATE ${SDL2PP_LIBRARIES})