From 24c5cf42cff53441cbc54b692a5db20a63480b66 Mon Sep 17 00:00:00 2001 From: zmatsuo <6488847+zmatsuo@users.noreply.github.com> Date: Sun, 21 Jul 2024 01:18:33 +0900 Subject: [PATCH] =?UTF-8?q?cmake=E3=83=93=E3=83=AB=E3=83=89=E6=99=82?= =?UTF-8?q?=E3=80=81libs/SFMT=20=E3=81=AE=E3=82=B3=E3=83=B3=E3=83=91?= =?UTF-8?q?=E3=82=A4=E3=83=AB=E3=82=AA=E3=83=97=E3=82=B7=E3=83=A7=E3=83=B3?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - static runtimeを使用するようオプションを修正 - 未指定=dll版runtimeをリンク --- libs/buildsfmt.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/buildsfmt.cmake b/libs/buildsfmt.cmake index 1a009c48c..527175415 100644 --- a/libs/buildsfmt.cmake +++ b/libs/buildsfmt.cmake @@ -66,6 +66,8 @@ if(NOT EXISTS ${SRC_DIR}/CMakeLists.txt) "\n" "if(MSVC)\n" " set(CMAKE_DEBUG_POSTFIX \"d\")\n" + " string(REPLACE \"/MD\" \"/MT\" CMAKE_C_FLAGS_DEBUG \${CMAKE_C_FLAGS_DEBUG})\n" + " string(REPLACE \"/MD\" \"/MT\" CMAKE_C_FLAGS_RELEASE \${CMAKE_C_FLAGS_RELEASE})\n" "endif()\n" "\n" "add_library(\n"