aboutsummaryrefslogtreecommitdiff
path: root/kde-modules/KDEMetaInfoPlatformCheck.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'kde-modules/KDEMetaInfoPlatformCheck.cmake')
-rw-r--r--kde-modules/KDEMetaInfoPlatformCheck.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/kde-modules/KDEMetaInfoPlatformCheck.cmake b/kde-modules/KDEMetaInfoPlatformCheck.cmake
index c02cfff0..6b73e139 100644
--- a/kde-modules/KDEMetaInfoPlatformCheck.cmake
+++ b/kde-modules/KDEMetaInfoPlatformCheck.cmake
@@ -42,6 +42,10 @@ if (NOT "${KF_IGNORE_PLATFORM_CHECK}")
if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
set(_MetainfoFoundSupportedPlatform true)
endif()
+ elseif (${CMAKE_MATCH_1} STREQUAL "GNU")
+ if (CMAKE_SYSTEM_NAME MATCHES "GNU")
+ set(_MetainfoFoundSupportedPlatform true)
+ endif()
elseif (${CMAKE_MATCH_1} STREQUAL "Windows")
if (WIN32)
set(_MetainfoFoundSupportedPlatform true)