mirror of
https://github.com/google/googletest.git
synced 2025-12-06 16:57:00 +08:00
Fix: Avoid recursive variable expansion
* Quote CMAKE_SYSTEM_NAME to avoid recursive variable expansion
This commit is contained in:
parent
309dab8d4b
commit
1df993eb7b
@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.16)
|
||||
project(googletest-distribution)
|
||||
set(GOOGLETEST_VERSION 1.16.0)
|
||||
|
||||
if(NOT CYGWIN AND NOT MSYS AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL QNX)
|
||||
if(NOT CYGWIN AND NOT MSYS AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "QNX")
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
endif()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user