From 942ba80dae253fef93094d178da3ce0abc47da5d Mon Sep 17 00:00:00 2001 From: Kevin Funk Date: Fri, 18 Dec 2015 12:37:19 +0100 Subject: CMake: Cleanup: Strip text from endif/else REVIEW: 126414 --- find-modules/FindSharedMimeInfo.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'find-modules/FindSharedMimeInfo.cmake') diff --git a/find-modules/FindSharedMimeInfo.cmake b/find-modules/FindSharedMimeInfo.cmake index 00bebf16..a850d435 100644 --- a/find-modules/FindSharedMimeInfo.cmake +++ b/find-modules/FindSharedMimeInfo.cmake @@ -92,9 +92,9 @@ function(UPDATE_XDG_MIMETYPES _path) get_filename_component(_xdgmimeDir "${_path}" NAME) if("${_xdgmimeDir}" STREQUAL packages ) get_filename_component(_xdgmimeDir "${_path}" PATH) - else("${_xdgmimeDir}" STREQUAL packages ) + else() set(_xdgmimeDir "${_path}") - endif("${_xdgmimeDir}" STREQUAL packages ) + endif() # Note that targets and most variables are not available to install code install(CODE " -- cgit v1.2.1