summaryrefslogtreecommitdiffhomepage
path: root/utils.cmake
diff options
context:
space:
mode:
authorAhmad Fatoum <[email protected]>2018-02-03 13:29:55 +0100
committerAhmad Fatoum <[email protected]>2018-02-03 13:30:59 +0100
commit2b2b1f91ee3a486280ef6c3704b1772b544a466b (patch)
tree7e7949a83251b16e1e2bdee828b393c0ea3809e9 /utils.cmake
parent5bb23c6c066c40a1b0821645b3cd74bb120cf323 (diff)
downloadraylib-2b2b1f91ee3a486280ef6c3704b1772b544a466b.tar.gz
raylib-2b2b1f91ee3a486280ef6c3704b1772b544a466b.zip
CMake: Fix typo in GLFW detection
Let it be noted I utterly dislike their syntax.
Diffstat (limited to 'utils.cmake')
-rw-r--r--utils.cmake2
1 files changed, 1 insertions, 1 deletions
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)