mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[ROSAPPS]
Remove not needed -Wno-error and allow_warnings() svn path=/trunk/; revision=67295
This commit is contained in:
parent
8d7d45ce07
commit
ef1f80bd88
2 changed files with 4 additions and 14 deletions
|
@ -59,12 +59,3 @@ add_pch(explorer_old precomp.h SOURCE)
|
|||
add_dependencies(explorer_old psdk)
|
||||
add_cd_file(TARGET explorer_old DESTINATION reactos FOR all)
|
||||
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/explorer-cfg-template.xml DESTINATION reactos FOR all)
|
||||
|
||||
if(NOT MSVC)
|
||||
add_compile_flags("-Wno-error=narrowing")
|
||||
|
||||
# GCC bug #59472
|
||||
if(LTCG)
|
||||
add_target_link_flags(explorer_old "-Wno-error")
|
||||
endif()
|
||||
endif()
|
||||
|
|
|
@ -7,8 +7,7 @@ target_link_libraries(winefile uuid)
|
|||
|
||||
add_cd_file(TARGET winefile DESTINATION reactos/system32 FOR all)
|
||||
|
||||
if(NOT MSVC)
|
||||
#if(NOT MSVC)
|
||||
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
|
||||
# add_target_compile_flags(winefile "-Wno-format")
|
||||
allow_warnings(winefile)
|
||||
endif()
|
||||
#endif()
|
||||
|
|
Loading…
Reference in a new issue