diff options
author | tycho <work.tycho@gmail.com> | 2015-05-23 13:27:55 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-05-23 13:47:54 +0200 |
commit | 62c99145d0775bb41d210917e064cf257de41df1 (patch) | |
tree | 69b6bcb483050a8cca954024fad86487c0e5868a /Tools/MCADefrag/CMakeLists.txt | |
parent | Added pthread as a link flag. (diff) | |
download | cuberite-62c99145d0775bb41d210917e064cf257de41df1.tar cuberite-62c99145d0775bb41d210917e064cf257de41df1.tar.gz cuberite-62c99145d0775bb41d210917e064cf257de41df1.tar.bz2 cuberite-62c99145d0775bb41d210917e064cf257de41df1.tar.lz cuberite-62c99145d0775bb41d210917e064cf257de41df1.tar.xz cuberite-62c99145d0775bb41d210917e064cf257de41df1.tar.zst cuberite-62c99145d0775bb41d210917e064cf257de41df1.zip |
Diffstat (limited to 'Tools/MCADefrag/CMakeLists.txt')
-rw-r--r-- | Tools/MCADefrag/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/MCADefrag/CMakeLists.txt b/Tools/MCADefrag/CMakeLists.txt index 700310edc..a4096791d 100644 --- a/Tools/MCADefrag/CMakeLists.txt +++ b/Tools/MCADefrag/CMakeLists.txt @@ -11,8 +11,9 @@ set_flags() set_lib_flags() enable_profile() - - +if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") + add_flags_cxx("-Wno-error=sign-conversion -Wno-error=conversion -Wno-error=shorten-64-to-32") +endif() # Set include paths to the used libraries: include_directories("../../lib") |