diff --git a/ThirdParty/GTest/Fsl.gen b/ThirdParty/GTest/Fsl.gen index 301c098077..31f025bc97 100644 --- a/ThirdParty/GTest/Fsl.gen +++ b/ThirdParty/GTest/Fsl.gen @@ -9,7 +9,7 @@ - + diff --git a/ThirdParty/Recipe/GTest_1_11/.gitignore b/ThirdParty/Recipe/GTest_1_17/.gitignore similarity index 100% rename from ThirdParty/Recipe/GTest_1_11/.gitignore rename to ThirdParty/Recipe/GTest_1_17/.gitignore diff --git a/ThirdParty/Recipe/GTest_1_11/Fsl.gen b/ThirdParty/Recipe/GTest_1_17/Fsl.gen similarity index 61% rename from ThirdParty/Recipe/GTest_1_11/Fsl.gen rename to ThirdParty/Recipe/GTest_1_17/Fsl.gen index e866855e9e..8cc2fe69a0 100644 --- a/ThirdParty/Recipe/GTest_1_11/Fsl.gen +++ b/ThirdParty/Recipe/GTest_1_17/Fsl.gen @@ -1,13 +1,16 @@ - + - + - - + + + + + @@ -20,10 +23,13 @@ - + - - + + + + + diff --git a/ThirdParty/Recipe/GTest_1_11/README.md b/ThirdParty/Recipe/GTest_1_17/README.md similarity index 100% rename from ThirdParty/Recipe/GTest_1_11/README.md rename to ThirdParty/Recipe/GTest_1_17/README.md diff --git a/ThirdParty/Recipe/GTest_1_17/changes-debug.patch b/ThirdParty/Recipe/GTest_1_17/changes-debug.patch new file mode 100644 index 0000000000..c24be362f1 --- /dev/null +++ b/ThirdParty/Recipe/GTest_1_17/changes-debug.patch @@ -0,0 +1,15 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -10,6 +10,12 @@ if(NOT CYGWIN AND NOT MSYS AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL QNX) + set(CMAKE_CXX_EXTENSIONS OFF) + endif() + ++if(MSVC) ++ # Always apply postfix for Debug configs in MSVC ++ set(CMAKE_DEBUG_POSTFIX d) ++ message(STATUS "MSVC detected: Debug postfix enabled ('d')") ++endif() ++ + enable_testing() + + include(CMakeDependentOption)