Skip to content

Commit 3e096ba

Browse files
authored
Use latest GTest stable tag (#566)
* Unit tests use C++17 to match GTest * SIMD unit tests renamed to fix compatibility issues with GTest+MSVC.
1 parent 17bbf6a commit 3e096ba

File tree

3 files changed

+208
-203
lines changed

3 files changed

+208
-203
lines changed

Source/GoogleTest

Submodule GoogleTest updated 243 files

Source/UnitTest/cmake_core.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ set(ASTCENC_TEST test-unit-${ASTCENC_ISA_SIMD})
1919

2020
add_executable(${ASTCENC_TEST})
2121

22+
set_property(TARGET ${ASTCENC_TEST}
23+
PROPERTY
24+
CXX_STANDARD 17)
25+
2226
# Enable LTO under the conditions where the codec library will use LTO.
2327
# The library link will fail if the settings don't match
2428
if(${ASTCENC_CLI})
@@ -32,6 +36,7 @@ set_property(TARGET ${ASTCENC_TEST}
3236
PROPERTY
3337
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
3438

39+
3540
target_sources(${ASTCENC_TEST}
3641
PRIVATE
3742
test_simd.cpp

0 commit comments

Comments
 (0)