aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrisztián Csordás <cskrisztianster@gmail.com>2019-08-16 21:40:44 +0200
committerGitHub <noreply@github.com>2019-08-16 21:40:44 +0200
commit879a7fafd7018895825f5190d6cf0cf11f2e15da (patch)
tree273aeb69f01110aac8e23d705ba711ebc3627002
parentc176532bd688ddae9895ec265c4be1e94e222cc3 (diff)
downloadvcpkg-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.cmake2
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(