VERY experimental Nintendo Switch 2 emulator
C++
CMake: Add missing library required by Linux for compiling glad
Yuri Kunde Schlesner25512d9e60e9
diff --git a/externals/glad/CMakeLists.txt b/externals/glad/CMakeLists.txtindex ebc5db1f29..a97d4aa739 100644--- a/externals/glad/CMakeLists.txt+++ b/externals/glad/CMakeLists.txt@@ -9,3 +9,6 @@ set(HEADERScreate_directory_groups(${SRCS} ${HEADERS})add_library(glad STATIC ${SRCS} ${HEADERS})target_include_directories(glad PUBLIC "include/")+if ("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")+ target_link_libraries(glad dl)+endif()