diff options
| author | Krisztián Csordás <cskrisztianster@gmail.com> | 2019-08-16 21:40:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-16 21:40:44 +0200 |
| commit | 879a7fafd7018895825f5190d6cf0cf11f2e15da (patch) | |
| tree | 273aeb69f01110aac8e23d705ba711ebc3627002 | |
| parent | c176532bd688ddae9895ec265c4be1e94e222cc3 (diff) | |
| download | vcpkg-879a7fafd7018895825f5190d6cf0cf11f2e15da.tar.gz vcpkg-879a7fafd7018895825f5190d6cf0cf11f2e15da.zip | |
Fix opengl for SFML
Cmake doesn't find opengl on Ubuntu (tried 18.04, 19.04) even after installing the required system dependencies.
libgl1-mesa-dev works instead of mesa-common-dev, as noted here: https://stackoverflow.com/a/47926071/6597851.
| -rw-r--r-- | ports/sfml/portfile.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/sfml/portfile.cmake b/ports/sfml/portfile.cmake index a4c0d89c4..2281d5ac3 100644 --- a/ports/sfml/portfile.cmake +++ b/ports/sfml/portfile.cmake @@ -16,7 +16,7 @@ file(WRITE ${SOURCE_PATH}/extlibs/libs/x "") file(REMOVE_RECURSE ${SOURCE_PATH}/cmake/Modules/FindFreetype.cmake)
if(VCPKG_CMAKE_SYSTEM_NAME AND NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
- message("SFML currently requires the following libraries from the system package manager:\n libudev\n libx11\n libxrandr\n opengl\n\nThese can be installed on Ubuntu systems via apt-get install libx11-dev libxrandr-dev libxi-dev libudev-dev mesa-common-dev")
+ message("SFML currently requires the following libraries from the system package manager:\n libudev\n libx11\n libxrandr\n opengl\n\nThese can be installed on Ubuntu systems via apt-get install libx11-dev libxrandr-dev libxi-dev libudev-dev libgl1-mesa-dev")
endif()
vcpkg_configure_cmake(
|
