Skip to content

Commit 7647748

Browse files
authored
Ignore CLR_DOTNET_RID when using stub cdac (#114541)
1 parent 696c8b0 commit 7647748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/debug/runtimeinfo/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ install_clr(TARGETS runtimeinfo DESTINATIONS lib COMPONENT runtime)
4242

4343
# cDAC contract descriptor
4444

45-
if("${CLR_DOTNET_RID}" STREQUAL "")
45+
if(CDAC_BUILD_TOOL_BINARY_PATH AND "${CLR_DOTNET_RID}" STREQUAL "")
4646
message(FATAL_ERROR "CLR_DOTNET_RID is not set. Please ensure it is being set to the portable RID of the target platform by runtime.proj.")
4747
endif()
4848
configure_file(configure.h.in ${CMAKE_CURRENT_BINARY_DIR}/configure.h)

0 commit comments

Comments
 (0)