From 3f5044e8657c02b8bfa4f62f8b23a4e5ca61e0af Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 16 Feb 2018 20:53:09 -0800 Subject: Fixed few compiler warnings --- unityplugin/UnityEmulator/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'unityplugin/UnityEmulator') diff --git a/unityplugin/UnityEmulator/CMakeLists.txt b/unityplugin/UnityEmulator/CMakeLists.txt index fed3cf5..f66db7f 100644 --- a/unityplugin/UnityEmulator/CMakeLists.txt +++ b/unityplugin/UnityEmulator/CMakeLists.txt @@ -170,6 +170,13 @@ elseif(PLATFORM_MACOS) src/MacOS ) endif() + +if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") + # Disable the following clang warning + # '' hides overloaded virtual function + # as hiding is intended + target_compile_options(UnityEmulator PRIVATE -Wno-overloaded-virtual) +endif() source_group("src" FILES ${SOURCE}) source_group("include" FILES ${INCLUDE}) -- cgit v1.2.3