Author: akhaldi
Date: Sun Mar 2 20:57:57 2014
New Revision: 62394
URL:
http://svn.reactos.org/svn/reactos?rev=62394&view=rev
Log:
[CMAKE]
* Remove some unsupported warning from the Clang build.
Modified:
trunk/reactos/lib/3rdparty/cardlib/CMakeLists.txt
Modified: trunk/reactos/lib/3rdparty/cardlib/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/cardlib/CMake…
==============================================================================
--- trunk/reactos/lib/3rdparty/cardlib/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/cardlib/CMakeLists.txt [iso-8859-1] Sun Mar 2 20:57:57
2014
@@ -19,6 +19,6 @@
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()