Browse Source

CMake: Fix typo in GLFW detection

Let it be noted I utterly dislike their syntax.
Ahmad Fatoum 7 years ago
parent
commit
2b2b1f91ee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils.cmake

+ 1 - 1
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)