[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 2 Mar 2014 20:57:57 +0000 (20:57 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 2 Mar 2014 20:57:57 +0000 (20:57 +0000)
* Remove some unsupported warning from the Clang build.

svn path=/trunk/; revision=62394

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

index 87cbb50..8369f57 100644 (file)
@@ -19,6 +19,6 @@ add_library(cardlib ${SOURCE})
 add_dependencies(cardlib psdk)
 add_pch(cardlib cardlib.h SOURCE)
 
-if(NOT MSVC)
+if(NOT MSVC AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang"))
     add_target_compile_flags(cardlib "-Wno-unused-but-set-variable")
 endif()