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 Aug 15, 2023
1 parent a8640d8 commit def4501
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 @@ -141,8 +141,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 STREQUAL "amd")
Expand Down

0 comments on commit def4501

Please sign in to comment.