final linux i hate linux i lionux

This commit is contained in:
Lauchmelder 2022-02-28 18:02:24 +01:00
parent d410a0c850
commit c282d7cbed
No known key found for this signature in database
GPG key ID: 4DC39C592DF6C40E
2 changed files with 2 additions and 3 deletions

View file

@ -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")

View file

@ -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>