Add missing SDL2_net-devel dependencies. (#277)

-- Found Threads: TRUE
-- Found nlohmann_json: /usr/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.11.3")
-- Found Ogg: /usr/lib64/libogg.so (found version "1.3.5")
-- Found Vorbis: /usr/lib64/libvorbis.so (found version "1.3.7")
CMake Error at CMakeLists.txt:434 (find_package):
By not providing "FindSDL2_net.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "SDL2_net",
but CMake did not find one.

Could not find a package configuration file provided by "SDL2_net" with any
of the following names:

SDL2_netConfig.cmake
sdl2_net-config.cmake

Add the installation prefix of "SDL2_net" to CMAKE_PREFIX_PATH or set
"SDL2_net_DIR" to a directory containing one of the above files.  If
"SDL2_net" provides a separate development package or SDK, be sure it has
been installed.


-- Configuring incomplete, errors occurred!

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
This commit is contained in:
PoorPockets McNewHold
2025-06-22 15:12:17 +02:00
committed by GitHub
parent ed35c94981
commit 840ea14e86
+2 -2
View File
@@ -99,10 +99,10 @@ pacman -S clang git cmake ninja lsb-release sdl2 libpng libzip nlohmann-json tin
#### Fedora
```sh
# using gcc
dnf install gcc gcc-c++ git cmake ninja-build lsb_release SDL2-devel libpng-devel libzip-devel libzip-tools nlohmann-json-devel tinyxml2-devel spdlog-devel boost-devel libogg-devel libvorbis-devel
dnf install gcc gcc-c++ git cmake ninja-build lsb_release SDL2-devel SDL2_net-devel libpng-devel libzip-devel libzip-tools nlohmann-json-devel tinyxml2-devel spdlog-devel boost-devel libogg-devel libvorbis-devel
# or using clang
dnf install clang git cmake ninja-build lsb_release SDL2-devel libpng-devel libzip-devel libzip-tools nlohmann-json-devel tinyxml2-devel spdlog-devel boost-devel libogg-devel libvorbis-devel
dnf install clang git cmake ninja-build lsb_release SDL2-devel SDL2_net-devel libpng-devel libzip-devel libzip-tools nlohmann-json-devel tinyxml2-devel spdlog-devel boost-devel libogg-devel libvorbis-devel
```
#### openSUSE
```sh