summaryrefslogtreecommitdiffstats
path: root/cmake/scripts/common/CheckTargetPlatform.cmake
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2020-07-02 23:09:26 +0200
committermanuel <manuel@mausz.at>2020-07-02 23:09:26 +0200
commit5f8335c1e49ce108ef3481863833c98efa00411b (patch)
treef02b5c1c9765bb6a14c8eb42bb4f81b9face0b55 /cmake/scripts/common/CheckTargetPlatform.cmake
parente317daf081a1048904fdf0b548946fa3ba6593a7 (diff)
downloadkodi-pvr-build-master.tar.gz
kodi-pvr-build-master.tar.bz2
kodi-pvr-build-master.zip
sync with upstreamHEADmaster
Diffstat (limited to 'cmake/scripts/common/CheckTargetPlatform.cmake')
-rw-r--r--cmake/scripts/common/CheckTargetPlatform.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmake/scripts/common/CheckTargetPlatform.cmake b/cmake/scripts/common/CheckTargetPlatform.cmake
index 526e4bd..d776085 100644
--- a/cmake/scripts/common/CheckTargetPlatform.cmake
+++ b/cmake/scripts/common/CheckTargetPlatform.cmake
@@ -29,7 +29,10 @@ function(check_target_platform dir target_platform build)
29 string(SUBSTRING ${platform} 1 ${platform_length} platform) 29 string(SUBSTRING ${platform} 1 ${platform_length} platform)
30 30
31 # check if the current platform does not match the extracted platform 31 # check if the current platform does not match the extracted platform
32 if(NOT ${platform} STREQUAL ${target_platform}) 32 if(${platform} STREQUAL ${target_platform})
33 set(${build} FALSE)
34 break()
35 elseif(NOT ${platform} STREQUAL ${target_platform})
33 set(${build} TRUE) 36 set(${build} TRUE)
34 endif() 37 endif()
35 endif() 38 endif()