From 92b41d7a3848b01c4b87a0e4b3c3a3a2db935622 Mon Sep 17 00:00:00 2001
From: Andrew Meadows <andrew@highfidelity.io>
Date: Mon, 27 Mar 2017 15:50:40 -0700
Subject: [PATCH] fix link error for linux build

---
 libraries/gpu-gl/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libraries/gpu-gl/CMakeLists.txt b/libraries/gpu-gl/CMakeLists.txt
index 65df5ed9dc..e665b7a28e 100644
--- a/libraries/gpu-gl/CMakeLists.txt
+++ b/libraries/gpu-gl/CMakeLists.txt
@@ -1,6 +1,7 @@
 set(TARGET_NAME gpu-gl)
 setup_hifi_library()
 link_hifi_libraries(shared gl gpu)
+target_link_libraries(${TARGET_NAME} pthread)
 GroupSources("src")
 
 target_opengl()