diff --git a/backends/twitter/CMakeLists.txt b/backends/twitter/CMakeLists.txt index 7853267e855c5557232d02180b43b915e6a480ee..1aef1b3ec740c8f736c48c8b0d86477a5143674e 100644 --- a/backends/twitter/CMakeLists.txt +++ b/backends/twitter/CMakeLists.txt @@ -3,6 +3,9 @@ FILE(GLOB SRC *.cpp libtwitcurl/*.cpp Requests/*.cpp) add_executable(spectrum2_twitter_backend ${SRC}) if (NOT WIN32) +if (CMAKE_COMPILER_IS_GNUCXX) + add_definitions("-std=c++0x") +endif() target_link_libraries(spectrum2_twitter_backend curl transport pthread ${Boost_LIBRARIES} ${SWIFTEN_LIBRARY} ${LOG4CXX_LIBRARIES}) else () include_directories("${CMAKE_SOURCE_DIR}/msvc-deps/curl/include")