From 5e83a1e573904e80e68af01b081cae17f8c79e5d Mon Sep 17 00:00:00 2001 From: Lauchmelder Date: Mon, 28 Feb 2022 17:24:14 +0100 Subject: [PATCH] fixed glfw include --- CMakeLists.txt | 2 +- src/CMakeLists.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ee03552..bc2ca25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ find_package(GLFW3) if(NOT ${GLFW3_FOUND}) add_subdirectory("vendor/glfw") - set(GLFW3_INCLUDE_DIRS "") + set(GLFW3_INCLUDE_DIRS glfw) set(GLFW3_LIBRARIES glfw) endif() add_subdirectory("vendor/glad") diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 88b4a51..7848073 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -21,6 +21,8 @@ target_include_directories(nesemu PRIVATE debugger ${IMGUI_INCLUDE} ${GLFW3_INCLUDE_DIRS} + spdlog + glad ) target_sources(nesemu PRIVATE