From 0a65895d7e7c9f9385aee5d1645d3a638a357fd0 Mon Sep 17 00:00:00 2001 From: torikizi Date: Sat, 21 Oct 2023 22:05:25 +0900 Subject: [PATCH] =?UTF-8?q?set=5Ftarget=5Fproperties=20=E3=81=AE=E3=83=90?= =?UTF-8?q?=E3=83=BC=E3=82=B8=E3=83=A7=E3=83=B3=E3=82=92=E4=B8=8A=E3=81=92?= =?UTF-8?q?=E3=81=A6=E3=81=BF=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9dd7dab9..1f368571 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,11 +80,7 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) # libsora.a を作る add_library(sora STATIC) -if (WIN32) - set_target_properties(sora PROPERTIES CXX_STANDARD 20 C_STANDARD 20) -else() - set_target_properties(sora PROPERTIES CXX_STANDARD 17 C_STANDARD 17) -endif() +set_target_properties(sora PROPERTIES CXX_STANDARD 20 C_STANDARD 20) string(SUBSTRING "${SORA_CPP_SDK_COMMIT}" 0 8 SORA_CPP_SDK_COMMIT_SHORT) string(SUBSTRING "${WEBRTC_COMMIT}" 0 8 WEBRTC_COMMIT_SHORT)