CMake: Support windows for tests

This commit is contained in:
TellowKrinkle
2021-08-13 00:39:40 -05:00
committed by refractionpcsx2
parent 04df2824cf
commit 4d8b9aee2a
6 changed files with 93 additions and 29 deletions
+1
View File
@@ -50,6 +50,7 @@ add_subdirectory(pcsx2)
# tests
if(ACTUALLY_ENABLE_TESTS)
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
add_subdirectory(3rdparty/gtest EXCLUDE_FROM_ALL)
add_subdirectory(tests/ctest)
endif()