瀏覽代碼

removed warnings

Former-commit-id: 537ffbb2b38dcc9427239ef6211aef628004b843
Daniele Panozzo 9 年之前
父節點
當前提交
b902147424
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tutorial/CMakeLists.txt

+ 1 - 1
tutorial/CMakeLists.txt

@@ -9,9 +9,9 @@ if(MSVC)
 else()
   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") #### Libigl requires a modern C++ compiler that supports c++11
   set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "../" )
+  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations -Wunused-parameter")
 endif()
 
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations")
 
 
 ### libIGL options: choose between header only and compiled static library