From 2b2b1f91ee3a486280ef6c3704b1772b544a466b Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Sat, 3 Feb 2018 13:29:55 +0100 Subject: [PATCH] CMake: Fix typo in GLFW detection Let it be noted I utterly dislike their syntax. --- utils.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.cmake b/utils.cmake index 871ad119..ad709b22 100644 --- a/utils.cmake +++ b/utils.cmake @@ -38,7 +38,7 @@ endif() if(WITH_SYSTEM_GLFW STREQUAL "ON") 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) endif() if (glfw3_FOUND)