fixed glfw include

This commit is contained in:
Lauchmelder 2022-02-28 17:24:14 +01:00
parent 4008df6b88
commit 5e83a1e573
No known key found for this signature in database
GPG key ID: C2403C69D78F011D
2 changed files with 3 additions and 1 deletions

View file

@ -9,7 +9,7 @@ find_package(GLFW3)
if(NOT ${GLFW3_FOUND})
add_subdirectory("vendor/glfw")
set(GLFW3_INCLUDE_DIRS "")
set(GLFW3_INCLUDE_DIRS glfw)
set(GLFW3_LIBRARIES glfw)
endif()
add_subdirectory("vendor/glad")

View file

@ -21,6 +21,8 @@ target_include_directories(nesemu PRIVATE
debugger
${IMGUI_INCLUDE}
${GLFW3_INCLUDE_DIRS}
spdlog
glad
)
target_sources(nesemu PRIVATE