title: Linking C++11 program to Qt5 in CMake leads to error
body: <p>I wrote two programs and eachs compiles. However when I want to bring them together I get errors. I thought Qt5 would support Cxx11, but I get errors. Is it because my distribution was building Qt5 without Cxx11 support?!</p>
  
  <pre><code>CMAKE_MINIMUM_REQUIRED (VERSION 3.0)
  PROJECT (SOMNetCPU)
  
  FIND_PACKAGE(BZip2 REQUIRED)
  FIND_PACKAGE(Qt5Widgets REQUIRED)
  
  SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
  
  SET( ANGUISourceFiles
    QSOMReader.cpp
  )
  
  add_library (SOMReader ${ANGUISourceFiles})
  TARGET_LINK_LIBRARIES (SOMReader Qt5::Widgets)
  
  ADD_EXECUTABLE (SOMNetCPU SOMNetCPU.cpp)
  TARGET_LINK_LIBRARIES (SOMNetCPU ANNet SOMReader) 
  </code></pre>
  
  <p>Errors:</p>
  
  <pre><code>/usr/include/c++/5/bits/stl_tree.h:1018:7: error: expected identifier before string constant
         _GLIBCXX_ABI_TAG_CXX11
         ^
  /usr/include/c++/5/bits/stl_tree.h:1018:7: error: expected ‘,’ or ‘...’ before string constant
  /usr/include/c++/5/bits/stl_tree.h:1018:7: error: expected ‘;’ at end of member declaration
         _GLIBCXX_ABI_TAG_CXX11
         ^
  /usr/include/c++/5/bits/stl_tree.h:1029:7: error: expected identifier before string constant
         _GLIBCXX_ABI_TAG_CXX11
         ^
  /usr/include/c++/5/bits/stl_tree.h:1029:7: error: expected ‘,’ or ‘...’ before string constant
  /usr/include/c++/5/bits/stl_tree.h:1029:7: error: expected ‘;’ at end of member declaration
         _GLIBCXX_ABI_TAG_CXX11
         ^
  /usr/include/c++/5/bits/stl_tree.h:1029:7: error: ‘int std::_Rb_tree&lt;_Key, _Val, _KeyOfValue, _Compare, _Alloc&gt;::__abi_tag__(int)’ cannot be overloaded
         _GLIBCXX_ABI_TAG_CXX11
         ^
  /usr/include/c++/5/bits/stl_tree.h:1018:7: error: with ‘int std::_Rb_tree&lt;_Key, _Val, _KeyOfValue, _Compare, _Alloc&gt;::__abi_tag__(int)’
         _GLIBCXX_ABI_TAG_CXX11
         ^
  /usr/include/c++/5/bits/stl_tree.h:1053:7: error: expected identifier before string constant
         _GLIBCXX_ABI_TAG_CXX11
         ^
  /usr/include/c++/5/bits/stl_tree.h:1053:7: error: expected ‘,’ or ‘...’ before string constant
  /usr/include/c++/5/bits/stl_tree.h:1053:7: error: expected ‘;’ at end of member declaration
         _GLIBCXX_ABI_TAG_CXX11
         ^
  /usr/include/c++/5/bits/stl_tree.h:1053:7: error: ‘int std::_Rb_tree&lt;_Key, _Val, _KeyOfValue, _Compare, _Alloc&gt;::__abi_tag__(int)’ cannot be overloaded
         _GLIBCXX_ABI_TAG_CXX11
         ^
  /usr/include/c++/5/bits/stl_tree.h:1018:7: error: with ‘int std::_Rb_tree&lt;_Key, _Val, _KeyOfValue, _Compare, _Alloc&gt;::__abi_tag__(int)’
         _GLIBCXX_ABI_TAG_CXX11
         ^
  /usr/include/c++/5/bits/stl_map.h:712:7: error: expected identifier before string constant
         _GLIBCXX_ABI_TAG_CXX11
         ^
  /usr/include/c++/5/bits/stl_map.h:712:7: error: expected ‘,’ or ‘...’ before string constant
  /usr/include/c++/5/bits/stl_map.h:712:7: error: expected ‘;’ at end of member declaration
         _GLIBCXX_ABI_TAG_CXX11
         ^
  /usr/include/c++/5/bits/stl_multimap.h:618:7: error: expected identifier before string constant
         _GLIBCXX_ABI_TAG_CXX11
         ^
  /usr/include/c++/5/bits/stl_multimap.h:618:7: error: expected ‘,’ or ‘...’ before string constant
  /usr/include/c++/5/bits/stl_multimap.h:618:7: error: expected ‘;’ at end of member declaration
         _GLIBCXX_ABI_TAG_CXX11
         ^
  </code></pre>