diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-02-17 04:53:09 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-02-17 04:53:09 +0000 |
| commit | 3f5044e8657c02b8bfa4f62f8b23a4e5ca61e0af (patch) | |
| tree | e79e66073cf84037846358f2c7f78d6ff11e4167 /unityplugin/UnityEmulator | |
| parent | Enabled TestApp on iOS (diff) | |
| download | DiligentEngine-3f5044e8657c02b8bfa4f62f8b23a4e5ca61e0af.tar.gz DiligentEngine-3f5044e8657c02b8bfa4f62f8b23a4e5ca61e0af.zip | |
Fixed few compiler warnings
Diffstat (limited to 'unityplugin/UnityEmulator')
| -rw-r--r-- | unityplugin/UnityEmulator/CMakeLists.txt | 7 |
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})
|
