• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

SFML / SFML / 15267913411

27 May 2025 06:12AM UTC coverage: 57.238% (-0.02%) from 57.253%
15267913411

push

github

ChrisThrasher
Set cmake_policy in SFMLConfig.cmake

`SFMLConfig.cmake` uses the `if(... IN_LIST` feature which requires
policy `CMP0057` to be enabled (added in CMake 3.3). If an application
uses `find_package(SFML)` with a minimum CMake version set to less
than `3.3`, the `IN_LIST` lines cause a CMake error.

Fix this by setting the minimum CMake policy we require in
`SFMLConfig.cmake`. CMake keeps a policy stack so this does not affect
the application's policy.

6238 of 12264 branches covered (50.86%)

Branch coverage included in aggregate %.

12366 of 20239 relevant lines covered (61.1%)

33783.21 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

53.58
/src/SFML/Window/WindowImpl.cpp


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc