From c282d7cbedacf434ff923a952c769c8c9b1d9ea1 Mon Sep 17 00:00:00 2001
From: Lauchmelder <robert.altner11@gmail.com>
Date: Mon, 28 Feb 2022 18:02:24 +0100
Subject: [PATCH] final linux i hate linux i lionux

---
 CMakeLists.txt      | 3 +--
 src/Application.cpp | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e47fc3d..f72251b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,8 +6,7 @@ cmake_minimum_required (VERSION 3.8)
 project ("NES Emulator")
 
 find_package(glfw3)
-if(GLFW3_FOUND)
-else()
+if(NOT glfw3_FOUND)
 	add_subdirectory("vendor/glfw")
 endif()
 add_subdirectory("vendor/glad")
diff --git a/src/Application.cpp b/src/Application.cpp
index 5e46fc3..968f7c4 100644
--- a/src/Application.cpp
+++ b/src/Application.cpp
@@ -2,7 +2,7 @@
 
 #include <stdexcept>
 #include <glad/glad.h>
-#include <glfw/glfw3.h>
+#include <GLFW/glfw3.h>
 
 #include <imgui/backends/imgui_impl_glfw.h>
 #include <imgui/backends/imgui_impl_opengl3.h>