Update CMakeLists.txt

This commit is contained in:
Lauchmelder 2022-02-28 17:54:14 +01:00 committed by GitHub
parent 53a7baf91f
commit d410a0c850
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,8 @@ cmake_minimum_required (VERSION 3.8)
project ("NES Emulator")
find_package(glfw3)
if(NOT GLFW3_FOUND)
if(GLFW3_FOUND)
else()
add_subdirectory("vendor/glfw")
endif()
add_subdirectory("vendor/glad")