summaryrefslogtreecommitdiffstats
path: root/unityplugin/UnityEmulator
diff options
context:
space:
mode:
Diffstat (limited to 'unityplugin/UnityEmulator')
-rw-r--r--unityplugin/UnityEmulator/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
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
+ # '<function name>' 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})