Unverified Commit e471d7ca authored by zhrrr's avatar zhrrr Committed by GitHub
Browse files

[CI/Build][Bugfix] fix qutlass cmake error when set QUTLASS_SRC_DIR (#26773)


Signed-off-by: default avatarizhuhaoran <izhuhaoran@qq.com>
Co-authored-by: default avatarMichael Goin <mgoin64@gmail.com>
parent c43ca825
...@@ -22,10 +22,10 @@ else() ...@@ -22,10 +22,10 @@ else()
CONFIGURE_COMMAND "" CONFIGURE_COMMAND ""
BUILD_COMMAND "" BUILD_COMMAND ""
) )
FetchContent_Populate(qutlass)
set(qutlass_SOURCE_DIR "${qutlass_SOURCE_DIR}")
endif() endif()
FetchContent_Populate(qutlass)
if(NOT qutlass_SOURCE_DIR) if(NOT qutlass_SOURCE_DIR)
message(FATAL_ERROR "[QUTLASS] source directory could not be resolved.") message(FATAL_ERROR "[QUTLASS] source directory could not be resolved.")
endif() endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment