Skip to content

Commit

Permalink
Add rsp files for windows
Browse files Browse the repository at this point in the history
Change-Id: Ida4fa9cdef1f105d2aeb62705b43bb25c4a1b56f
  • Loading branch information
cjatin committed Jul 9, 2023
1 parent cf65854 commit 126d0aa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions catch/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,9 @@ if (WIN32)
# When args to linker exceeds max chars.
# msbuild writes args to a rsp file.
# This is used to reference the obj file correctly
SET(CMAKE_C_RESPONSE_FILE_LINK_FLAG "")
SET(CMAKE_CXX_RESPONSE_FILE_LINK_FLAG "")
SET(CMAKE_C_RESPONSE_FILE_LINK_FLAG "@")
SET(CMAKE_CXX_RESPONSE_FILE_LINK_FLAG "@")
SET(CMAKE_NINJA_FORCE_RESPONSE_FILE TRUE CACHE INTERNAL "")
endif()

if(HIP_PLATFORM MATCHES "amd" AND HIP_COMPILER MATCHES "clang")
Expand Down

0 comments on commit 126d0aa

Please sign in to comment.