diff options
-rw-r--r-- | modules/FindKDE4Internal.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 8c2fd266..11252ac1 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -236,6 +236,7 @@ if (WIN32) set( _KDE4_PLATFORM_DEFINITIONS -DKDE_FULL_TEMPLATE_EXPORT_INSTANTIATION -DWIN32_LEAN_AND_MEAN -DUNICODE ) IF(CMAKE_COMPILER_2005) ADD_DEFINITIONS( -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE ) + SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -wd4661" ) ENDIF(CMAKE_COMPILER_2005) endif(MSVC) |