19 lines
902 B
Text
19 lines
902 B
Text
|
Fake it until we supported
|
||
|
Index: kde-modules/KDEMetaInfoPlatformCheck.cmake
|
||
|
--- kde-modules/KDEMetaInfoPlatformCheck.cmake.orig
|
||
|
+++ kde-modules/KDEMetaInfoPlatformCheck.cmake
|
||
|
@@ -38,8 +38,12 @@ if (NOT "${KF_IGNORE_PLATFORM_CHECK}")
|
||
|
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||
|
set(_MetainfoFoundSupportedPlatform true)
|
||
|
endif()
|
||
|
+ elseif (${CMAKE_MATCH_1} STREQUAL "OpenBSD")
|
||
|
+ if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
|
||
|
+ set(_MetainfoFoundSupportedPlatform true)
|
||
|
+ endif()
|
||
|
elseif (${CMAKE_MATCH_1} STREQUAL "FreeBSD")
|
||
|
- if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
||
|
+ if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
|
||
|
set(_MetainfoFoundSupportedPlatform true)
|
||
|
endif()
|
||
|
elseif (${CMAKE_MATCH_1} STREQUAL "OpenBSD")
|