Skip to content

Commit ad10b49

Browse files
committed
fix: windows(wsl)でもテストできるように修正
1 parent 180bb9c commit ad10b49

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@ if(ENABLE_COVERAGE)
1717
endif()
1818

1919
# GoogleTest のフェッチとビルド
20-
# Windows環境では動かないかも
2120
include(FetchContent)
2221
FetchContent_Declare(
2322
googletest
2423
URL https://github.com/google/googletest/archive/refs/tags/v1.16.0.zip
25-
DOWNLOAD_EXTRACT_TIMESTAMP TRUE
2624
)
25+
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
2726
FetchContent_MakeAvailable(googletest)
2827

2928
# プロジェクトのソースディレクトリ構造の定義 (適宜登録)

0 commit comments

Comments
 (0)