Skip to content

Commit

Permalink
cmakeビルド時、libs/SFMT のコンパイルオプションを修正
Browse files Browse the repository at this point in the history
- static runtimeを使用するようオプションを修正
  - 未指定=dll版runtimeをリンク
  • Loading branch information
zmatsuo committed Jul 20, 2024
1 parent b3e1aba commit 24c5cf4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/buildsfmt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 24c5cf4

Please sign in to comment.