From 54aa628200917ea9dcc7bfee664911eee15a5254 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Thu, 1 Aug 2013 15:28:54 +0000 Subject: [PATCH] [FULLFAT] * Silence some warnings. svn path=/trunk/; revision=59611 --- reactos/lib/3rdparty/fullfat/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reactos/lib/3rdparty/fullfat/CMakeLists.txt b/reactos/lib/3rdparty/fullfat/CMakeLists.txt index 64d71ebb34a..5865a3cdf74 100644 --- a/reactos/lib/3rdparty/fullfat/CMakeLists.txt +++ b/reactos/lib/3rdparty/fullfat/CMakeLists.txt @@ -1,6 +1,5 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/fullfat) - add_definitions(-D__NTDRIVER__) list(APPEND SOURCE @@ -20,3 +19,7 @@ list(APPEND SOURCE add_library(fullfat ${SOURCE}) allow_warnings(fullfat) add_dependencies(fullfat bugcodes) + +if(NOT MSVC) + add_target_compile_flags(fullfat "-Wno-unused-but-set-variable") +endif() -- 2.17.1