File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
# SPDX-License-Identifier: Apache-2.0
2
2
# ----------------------------------------------------------------------------
3
- # Copyright 2020-2024 Arm Limited
3
+ # Copyright 2020-2025 Arm Limited
4
4
#
5
5
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
6
6
# use this file except in compliance with the License. You may obtain a copy
@@ -104,6 +104,12 @@ if(${ASTCENC_UNITTEST})
104
104
set (INSTALL_GTEST OFF CACHE BOOL "" FORCE)
105
105
set (CMAKE_OSX_ARCHITECTURES x86_64;arm64)
106
106
add_subdirectory (GoogleTest)
107
+
108
+ # Workaround Google Test issue
109
+ # See https://github.com/google/googletest/issues/4067
110
+ set_property (TARGET gtest PROPERTY MSVC_RUNTIME_LIBRARY "-MT" )
111
+ set_property (TARGET gtest_main PROPERTY MSVC_RUNTIME_LIBRARY "-MT" )
112
+
107
113
enable_testing ()
108
114
add_subdirectory (UnitTest)
109
115
endif ()
You can’t perform that action at this time.
0 commit comments