Author: dreimer Date: Sun Apr 26 17:09:11 2015 New Revision: 67440
URL: http://svn.reactos.org/svn/reactos?rev=67440&view=rev Log: [DXTN] Really really fix MSVC this time.
Modified: trunk/reactos/dll/3rdparty/dxtn/CMakeLists.txt
Modified: trunk/reactos/dll/3rdparty/dxtn/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/3rdparty/dxtn/CMakeList... ============================================================================== --- trunk/reactos/dll/3rdparty/dxtn/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/dll/3rdparty/dxtn/CMakeLists.txt [iso-8859-1] Sun Apr 26 17:09:11 2015 @@ -10,5 +10,7 @@
set_entrypoint(dxtn 0) add_importlibs(dxtn msvcrt) -add_compile_flags("-Wno-unused-but-set-variable") +if(NOT MSVC) + add_target_compile_flags(dxtn "-Wno-unused-but-set-variable") +endif() add_cd_file(TARGET dxtn DESTINATION reactos/system32 FOR all)