Git commit 14aad6bbc39bff59f164c5184aa23e72162c761e by Patrick Spendrin. Committed on 04/10/2015 at 21:56. Pushed by sengels into branch 'master'. remove strict iterators for msvc to make ki18n build M +3 -0 CMakeLists.txt http://commits.kde.org/ki18n/14aad6bbc39bff59f164c5184aa23e72162c761e diff --git a/CMakeLists.txt b/CMakeLists.txt index 3405e03..c2785f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,6 +49,9 @@ include(cmake/KF5I18NMacros.cmake) = remove_definitions(-DQT_NO_CAST_FROM_ASCII) remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY) +if(MSVC) + remove_definitions(-DQT_STRICT_ITERATORS) +endif() = add_definitions(-DTRANSLATION_DOMAIN=3D\"ki18n5\") if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po")