aboutsummaryrefslogtreecommitdiff
path: root/find-modules
diff options
context:
space:
mode:
Diffstat (limited to 'find-modules')
-rw-r--r--find-modules/FindSharedMimeInfo.cmake4
1 files changed, 2 insertions, 2 deletions
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 "