diff options
Diffstat (limited to 'intern/mikktspace/CMakeLists.txt')
-rw-r--r-- | intern/mikktspace/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/intern/mikktspace/CMakeLists.txt b/intern/mikktspace/CMakeLists.txt index e48b0240f98..8abd9559358 100644 --- a/intern/mikktspace/CMakeLists.txt +++ b/intern/mikktspace/CMakeLists.txt @@ -23,6 +23,13 @@ # # ***** END GPL LICENSE BLOCK ***** +if(CMAKE_COMPILER_IS_GNUCC) + remove_cc_flag( + "-Wshadow" + "-Werror=shadow" + ) +endif() + set(INC . ) |