aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/linux
diff options
context:
space:
mode:
authorcraigcarnell <craig_carnell@hotmail.com>2023-03-18 19:20:06 +0000
committercraigcarnell <craig_carnell@hotmail.com>2023-03-18 19:20:06 +0000
commite5832438423757f2a7041690dab7a2ac74c955a0 (patch)
tree43c472183ac193c9597099b5ae6a9ee23d00c5a6 /cmake/scripts/linux
parentfe90faeb02145c0ebd654a4dcf07e04043a59c0b (diff)
Change to IN_LIST
Diffstat (limited to 'cmake/scripts/linux')
-rw-r--r--cmake/scripts/linux/ExtraTargets.cmake2
-rw-r--r--cmake/scripts/linux/Install.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmake/scripts/linux/ExtraTargets.cmake b/cmake/scripts/linux/ExtraTargets.cmake
index 60e0daf714..9be92f19d4 100644
--- a/cmake/scripts/linux/ExtraTargets.cmake
+++ b/cmake/scripts/linux/ExtraTargets.cmake
@@ -28,7 +28,7 @@ if("wayland" IN_LIST CORE_PLATFORM_NAME_LC)
DEPENDS "${WAYLANDPP_SCANNER}" ${PROTOCOL_XMLS}
COMMENT "Generating wayland-protocols C++ wrappers")
- if(CORE_PLATFORM_NAME STREQUAL webos)
+ if("webos" IN_LIST CORE_PLATFORM_NAME_LC)
include(${CMAKE_SOURCE_DIR}/cmake/scripts/webos/ExtraTargets.cmake)
endif()
diff --git a/cmake/scripts/linux/Install.cmake b/cmake/scripts/linux/Install.cmake
index d20c09d0e7..4a388a1b21 100644
--- a/cmake/scripts/linux/Install.cmake
+++ b/cmake/scripts/linux/Install.cmake
@@ -328,6 +328,6 @@ if(CPACK_GENERATOR)
endif()
endif()
-if(CORE_PLATFORM_NAME STREQUAL webos)
+if("webos" IN_LIST CORE_PLATFORM_NAME_LC)
include(${CMAKE_SOURCE_DIR}/cmake/scripts/webos/Install.cmake)
endif()