Skip to content

Commit

Permalink
Sync SDL3 header -> wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
SDLWikiBot committed Oct 23, 2024
1 parent 6b90f5c commit 79404e2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions SDL3/README/cmake.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,14 @@ Configure your project with `-DSDL_LIBC=ON` to make use of sanitizers.
## CMake FAQ
### CMake fails to build without X11 or Wayland support
Install the required system packages prior to running CMake.
See [README-linux][README-linux.md#build-dependencies] for the list of dependencies on Linux.
Other unix operationg systems should provide similar packages.
If you **really** don't need to show windows, add `-DSDL_UNIX_CONSOLE_BUILD=ON` to the CMake configure command.
### How do I copy a SDL3 dynamic library to another location?
Use [CMake generator expressions](https://cmake.org/cmake/help/latest/manual/cmake-generator-expressions.7.html#target-dependent-expressions).
Expand Down

0 comments on commit 79404e2

Please sign in to comment.