瀏覽代碼

for the Cmake build we do not want to have -Werror or force -Wall

Bill Hoffman 16 年之前
父節點
當前提交
f8b9a2681b
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Utilities/cmlibarchive/CMakeLists.txt

+ 3 - 3
Utilities/cmlibarchive/CMakeLists.txt

@@ -732,9 +732,9 @@ ENDIF(MSVC)
 # Especially for early development, we want to be a little
 # aggressive about diagnosing build problems; this can get
 # relaxed somewhat in final shipping versions.
-IF ("CMAKE_C_COMPILER_ID" MATCHES "^GNU$")
-  ADD_DEFINITIONS(-Wall -Werror)
-ENDIF ("CMAKE_C_COMPILER_ID" MATCHES "^GNU$")
+#IF ("CMAKE_C_COMPILER_ID" MATCHES "^GNU$")
+#  ADD_DEFINITIONS(-Wall -Werror)
+#ENDIF ("CMAKE_C_COMPILER_ID" MATCHES "^GNU$")
 
 IF(ENABLE_TEST)
 ADD_CUSTOM_TARGET(run_all_tests)