devendor glfw3
This commit is contained in:
parent
e9c27889cf
commit
9f4cf7689b
2 changed files with 14 additions and 3 deletions
|
@ -5,7 +5,13 @@ cmake_minimum_required (VERSION 3.8)
|
|||
|
||||
project ("NES Emulator")
|
||||
|
||||
add_subdirectory("vendor/glfw")
|
||||
find_package(GLFW3)
|
||||
if(NOT ${GLFW3_FOUND})
|
||||
add_subdirectory("vendor/glfw")
|
||||
|
||||
set(GLFW3_INCLUDE_DIRS "")
|
||||
set(GLFW3_LIBRARIES glfw)
|
||||
endif()
|
||||
add_subdirectory("vendor/glad")
|
||||
add_subdirectory("vendor/spdlog")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue