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)