use glfw3 target export feature

This commit is contained in:
Lauchmelder 2022-02-28 17:34:43 +01:00
parent 2508fb39ee
commit 7ffef5851d
No known key found for this signature in database
GPG key ID: C2403C69D78F011D
2 changed files with 1 additions and 7 deletions

View file

@ -8,9 +8,6 @@ project ("NES Emulator")
find_package(glfw3)
if(NOT ${GLFW3_FOUND})
add_subdirectory("vendor/glfw")
set(GLFW3_INCLUDE_DIRS glfw)
set(GLFW3_LIBRARIES glfw)
endif()
add_subdirectory("vendor/glad")
add_subdirectory("vendor/spdlog")