Author: akhaldi
Date: Fri Oct 3 10:08:33 2014
New Revision: 64484
URL:
http://svn.reactos.org/svn/reactos?rev=64484&view=rev
Log:
[USETUP]
* Prevent the "illegal character encoding in string literal" warning from
flooding the build log. This must be inspected.
CORE-8516
Modified:
trunk/reactos/base/setup/usetup/CMakeLists.txt
Modified: trunk/reactos/base/setup/usetup/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/CMakeLis…
==============================================================================
--- trunk/reactos/base/setup/usetup/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/CMakeLists.txt [iso-8859-1] Fri Oct 3 10:08:33 2014
@@ -32,14 +32,13 @@
settings.c
usetup.h)
+if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
+ #FIXME: Investigate Clang "illegal character encoding in string literal"
warning
+ set_property(SOURCE mui.c APPEND_STRING PROPERTY COMPILE_FLAGS "
-Wno-invalid-source-encoding")
+endif()
+
add_executable(usetup ${SOURCE} usetup.rc)
-
-target_link_libraries(usetup
- zlib
- inflib
- ext2lib
- vfatlib)
-
+target_link_libraries(usetup zlib inflib ext2lib vfatlib)
set_module_type(usetup nativecui)
add_importlibs(usetup ntdll)
add_pch(usetup usetup.h SOURCE)