* Silence some warnings.

svn path=/trunk/; revision=59522
This commit is contained in:
Amine Khaldi 2013-07-19 23:36:38 +00:00
parent 4c7178ab1b
commit 5de235ee37

View file

@ -23,7 +23,7 @@ add_library(uniata SHARED ${SOURCE} idedma.rc)
if(NOT MSVC)
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
#allow_warnings(uniata)
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error")
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error -Wno-unused-but-set-variable -Wno-narrowing")
endif()
add_pch(uniata stdafx.h)