From 58493ee93631ec4f4887951c421d4d7b3a01091f Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Wed, 11 Dec 2019 21:24:28 +0900 Subject: [PATCH] Fix UnitTests using C++17 (now uses C++11) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()