From f2a5602e3446e3110ec34ca0417291c431163e4d Mon Sep 17 00:00:00 2001 From: Constantine Shablya Date: Sat, 21 Jan 2023 21:50:23 +0200 Subject: [PATCH] Fix Vulkan embedder example --- examples/vulkan_glfw/CMakeLists.txt | 2 +- examples/vulkan_glfw/src/main.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/vulkan_glfw/CMakeLists.txt b/examples/vulkan_glfw/CMakeLists.txt index 6b6a1ed1b72eb..e107a37d24fae 100644 --- a/examples/vulkan_glfw/CMakeLists.txt +++ b/examples/vulkan_glfw/CMakeLists.txt @@ -40,7 +40,7 @@ set(GLFW_VULKAN_STATIC OFF CACHE BOOL "" FORCE) add_subdirectory(${GLFW_REPOSITORY} build_glfw) target_link_libraries(${EXE_NAME} PRIVATE glfw) -target_include_directories(${EXE_NAME} PRIVATE $(GLFW_REPOSITORY)/include) +target_include_directories(${EXE_NAME} PRIVATE ${GLFW_REPOSITORY}/include) # Dependency: Flutter Engine diff --git a/examples/vulkan_glfw/src/main.cc b/examples/vulkan_glfw/src/main.cc index e97a874afdd95..7d226055b56ed 100644 --- a/examples/vulkan_glfw/src/main.cc +++ b/examples/vulkan_glfw/src/main.cc @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include #include #include #include