[CARDLIB]
authorAmine Khaldi <amine.khaldi@reactos.org>
Fri, 19 Jul 2013 23:22:19 +0000 (23:22 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Fri, 19 Jul 2013 23:22:19 +0000 (23:22 +0000)
* Silence some warnings.

svn path=/trunk/; revision=59520

reactos/lib/3rdparty/cardlib/CMakeLists.txt

index 46b9c40..e119d16 100644 (file)
@@ -15,5 +15,8 @@ list(APPEND SOURCE
     dropzone.cpp)
 
 add_library(cardlib ${SOURCE})
-allow_warnings(cardlib)
 add_dependencies(cardlib psdk)
+
+if(NOT MSVC)
+    add_target_compile_flags(cardlib "-Wno-unused-but-set-variable")
+endif()