From b8339d3dc8613264bcc088476f65a7e040fc089a Mon Sep 17 00:00:00 2001 From: Wander Lairson Costa Date: Tue, 8 Dec 2020 16:20:51 -0300 Subject: [PATCH] Match Apple clang In macOS, the clang shipped with macOS has the string 'AppleClang' in cmake. Change-Id: I0995c3853fded17b35e41595398421d3c4001bf1 --- build/tizen/.gitignore | 2 ++ build/tizen/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build/tizen/.gitignore b/build/tizen/.gitignore index 14a7719..e800989 100644 --- a/build/tizen/.gitignore +++ b/build/tizen/.gitignore @@ -1,2 +1,4 @@ /doc /linker-test +/dali2-core-config.cmake +/*.dylib diff --git a/build/tizen/CMakeLists.txt b/build/tizen/CMakeLists.txt index eb890c2..301c614 100644 --- a/build/tizen/CMakeLists.txt +++ b/build/tizen/CMakeLists.txt @@ -147,7 +147,7 @@ ELSEIF( UNIX ) # TODO: Clang is a lot more strict with warnings, we should address # those issues at some point. - IF( NOT ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang" ) + IF( NOT ${CMAKE_CXX_COMPILER_ID} MATCHES "Clang" ) ADD_COMPILE_OPTIONS( -Werror ) ENDIF() -- 2.7.4