We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 696c8b0 commit 7647748Copy full SHA for 7647748
src/coreclr/debug/runtimeinfo/CMakeLists.txt
@@ -42,7 +42,7 @@ install_clr(TARGETS runtimeinfo DESTINATIONS lib COMPONENT runtime)
42
43
# cDAC contract descriptor
44
45
-if("${CLR_DOTNET_RID}" STREQUAL "")
+if(CDAC_BUILD_TOOL_BINARY_PATH AND "${CLR_DOTNET_RID}" STREQUAL "")
46
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.")
47
endif()
48
configure_file(configure.h.in ${CMAKE_CURRENT_BINARY_DIR}/configure.h)
0 commit comments