From: Stephen Seo Date: Wed, 11 Dec 2019 12:24:28 +0000 (+0900) Subject: Fix UnitTests using C++17 (now uses C++11) X-Git-Tag: 1.0~109 X-Git-Url: https://git.seodisparate.com/stephenseo/client_config?a=commitdiff_plain;h=58493ee93631ec4f4887951c421d4d7b3a01091f;p=UDPConnection Fix UnitTests using C++17 (now uses C++11) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index f63fec6..015e265 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,7 +60,7 @@ if(CMAKE_BUILD_TYPE MATCHES "Debug") src/test/TestUDPC.cpp ) add_executable(UnitTest ${UDPC_UnitTest_SOURCES}) - target_compile_features(UnitTest PUBLIC cxx_std_17) + target_compile_features(UnitTest PUBLIC cxx_std_11) target_link_libraries(UnitTest PUBLIC UDPConnection ${GTEST_BOTH_LIBRARIES}) target_include_directories(UnitTest PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src) endif()