diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index d1532552b..7c5093e18 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -207,8 +207,7 @@ jobs: if: always() run: | dir D:\a\YUView\YUView\build - dir D:\a\YUView\YUView\build\submodules\googletest-qmake\gtest\debug - dir D:\a\YUView\YUView\build\submodules\googletest-qmake\gtest\release + dir D:\a\YUView\YUView\build\submodules\googletest-qmake\gtest - name: Run tests run: | cd build diff --git a/submodules/googletest-qmake/gtest_main/gtest_main.pro b/submodules/googletest-qmake/gtest_main/gtest_main.pro index 857d978ea..548149b8f 100644 --- a/submodules/googletest-qmake/gtest_main/gtest_main.pro +++ b/submodules/googletest-qmake/gtest_main/gtest_main.pro @@ -2,7 +2,10 @@ QT -= core gui TARGET = gtest_main TEMPLATE = lib + CONFIG += staticlib +CONFIG -= debug_and_release +CONFIG += c++17 INCLUDEPATH += \ ../../googletest/googletest/include