From 5fc1e9716605871eb74b5fe8e1d4e860600c44d4 Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Mon, 27 Mar 2017 16:49:43 -0700 Subject: [PATCH] fix windows build of render-utils-test --- libraries/gpu-gl/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/gpu-gl/CMakeLists.txt b/libraries/gpu-gl/CMakeLists.txt index e665b7a28e..3e3853532a 100644 --- a/libraries/gpu-gl/CMakeLists.txt +++ b/libraries/gpu-gl/CMakeLists.txt @@ -1,7 +1,9 @@ set(TARGET_NAME gpu-gl) setup_hifi_library() link_hifi_libraries(shared gl gpu) -target_link_libraries(${TARGET_NAME} pthread) +if (UNIX) + target_link_libraries(${TARGET_NAME} pthread) +endif(UNIX) GroupSources("src") target_opengl()