Author: akhaldi
Date: Sun Jun 16 17:42:42 2013
New Revision: 59235
URL:
http://svn.reactos.org/svn/reactos?rev=59235&view=rev
Log:
[FREETYPE]
* Silence the unused-but-set warnings. Dedicated to Thomas Faber.
Modified:
trunk/reactos/lib/3rdparty/freetype/CMakeLists.txt
Modified: trunk/reactos/lib/3rdparty/freetype/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/freetype/CMak…
==============================================================================
--- trunk/reactos/lib/3rdparty/freetype/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/freetype/CMakeLists.txt [iso-8859-1] Sun Jun 16 17:42:42
2013
@@ -50,3 +50,7 @@
add_library(freetype ${SOURCE})
allow_warnings(freetype)
+
+if(NOT MSVC)
+ add_target_compile_flags(freetype "-Wno-unused-but-set-variable")
+endif()