We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39dbce1 commit 21d7968Copy full SHA for 21d7968
cmake/modules/StandaloneCrt.cmake
@@ -196,7 +196,7 @@ else()
196
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
197
list(APPEND TVM_RUNTIME_LINKER_LIBS -Wl,--whole-archive ${TVM_CRT_LINKER_LIB} -Wl,--no-whole-archive)
198
elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES ".*Clang")
199
- list(APPEND TVM_RUNTIME_LINKER_LIBS -Wl,-force_load $<TARGET_PROPERTY:${TVM_CRT_LINKER_LIB},IMPORTED_LOCATION>)
+ list(APPEND TVM_RUNTIME_LINKER_LIBS -Wl,-force_load ${TVM_CRT_LINKER_LIB})
200
else()
201
list(APPEND TVM_RUNTIME_LINKER_LIBS ${TVM_CRT_LINKER_LIB})
202
endif()
0 commit comments