MAINT: remove legacy CMake endif()
authorTyler Reddy <tyler.je.reddy@gmail.com>
Tue, 23 Jul 2019 03:24:57 +0000 (21:24 -0600)
committerTyler Reddy <tyler.je.reddy@gmail.com>
Tue, 23 Jul 2019 03:24:57 +0000 (21:24 -0600)
* clean up a case where CMake endif()
contained the conditional used in the
if(), which is no longer needed /
discouraged since our minimum required
CMake version supports the modern syntax

cmake/system_check.cmake

index 94d3ba6..610f689 100644 (file)
@@ -15,7 +15,7 @@ if (${HOST_OS} STREQUAL "LINUX")
     EXECUTE_PROCESS( COMMAND uname -o COMMAND tr -d '\n' OUTPUT_VARIABLE OPERATING_SYSTEM)
       if(${OPERATING_SYSTEM} MATCHES "Android")
         set(HOST_OS ANDROID)
-      endif(${OPERATING_SYSTEM} MATCHES "Android")
+      endif()
 endif()