Skip to content
Snippets Groups Projects
Commit 9bee6df1 authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

ensure that glfw3 is checked for before trying to build

parent 0672fad6
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# depdencies
find_package( glfw3 )
if ( NOT glfw3_FOUND )
include(FetchContent)
set(GLFW_BUILD_EXAMPLES OFF)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment