Skip to content

Commit

Permalink
set_target_properties のバージョンを上げてみる
Browse files Browse the repository at this point in the history
  • Loading branch information
torikizi committed Oct 27, 2023
1 parent 7ed6fe0 commit 0a65895
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0a65895

Please sign in to comment.