From 510865dd2795d79e234ef9a24dc760ae1a45bc30 Mon Sep 17 00:00:00 2001 From: Joshua Groves Date: Thu, 7 Mar 2019 19:19:10 -0700 Subject: [PATCH] Restore GLFW for macOS --- examples/hello_triangle_c/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/hello_triangle_c/CMakeLists.txt b/examples/hello_triangle_c/CMakeLists.txt index da89d317b..3803b384e 100644 --- a/examples/hello_triangle_c/CMakeLists.txt +++ b/examples/hello_triangle_c/CMakeLists.txt @@ -14,6 +14,7 @@ elseif(APPLE) add_compile_definitions(WGPU_TARGET=WGPU_TARGET_MACOS) set(OS_LIBRARIES "-framework Cocoa" "-framework CoreVideo" "-framework IOKit" "-framework QuartzCore") target_compile_options(${TARGET_NAME} PRIVATE -x objective-c) + set(GLFW_LIBRARY glfw) else(MSVC) target_compile_options(${TARGET_NAME} PRIVATE -Wall -Wextra -pedantic) add_compile_definitions(WGPU_TARGET=WGPU_TARGET_LINUX)