Update CMakeLists.txt
This commit is contained in:
parent
53a7baf91f
commit
d410a0c850
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue