CMake: Fix typo in GLFW detection

Let it be noted I utterly dislike their syntax.
This commit is contained in:
Ahmad Fatoum 2018-02-03 13:29:55 +01:00
parent 5bb23c6c06
commit 2b2b1f91ee
No known key found for this signature in database
GPG key ID: C3EAC3DE9321D59B

View file

@ -38,7 +38,7 @@ endif()
if(WITH_SYSTEM_GLFW STREQUAL "ON") if(WITH_SYSTEM_GLFW STREQUAL "ON")
find_package(glfw3 3.2.1 REQUIRED) find_package(glfw3 3.2.1 REQUIRED)
else(WITH_SYSTEM_GLFW STREQUAL "IF_POSSIBLE") elseif(WITH_SYSTEM_GLFW STREQUAL "IF_POSSIBLE")
find_package(glfw3 3.2.1) find_package(glfw3 3.2.1)
endif() endif()
if (glfw3_FOUND) if (glfw3_FOUND)