Skip to content

Commit

Permalink
Merge pull request #14656 from rwalton-arm/windows_ninja_response_files
Browse files Browse the repository at this point in the history
CMake: Only force Ninja response files on Windows
  • Loading branch information
adbridge authored May 13, 2021
2 parents 640d844 + ccb49b5 commit 117ecd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ endfunction()
if ("${CMAKE_GENERATOR}" MATCHES "Ninja")
# known issue ARMClang and Ninja with response files for windows
# https://gitlab.kitware.com/cmake/cmake/-/issues/21093
if(NOT (CMAKE_HOST_SYSTEM_NAME MATCHES "Windows" AND CMAKE_CXX_COMPILER_ID MATCHES "ARMClang"))
if((CMAKE_HOST_SYSTEM_NAME MATCHES "Windows" AND NOT CMAKE_CXX_COMPILER_ID MATCHES "ARMClang"))
set(CMAKE_NINJA_FORCE_RESPONSE_FILE 1 CACHE INTERNAL "")
endif()
endif()
Expand Down

0 comments on commit 117ecd5

Please sign in to comment.