[CI/Build][Bugfix] fix qutlass cmake error when set QUTLASS_SRC_DIR (#26773)
Signed-off-by: izhuhaoran <izhuhaoran@qq.com> Co-authored-by: Michael Goin <mgoin64@gmail.com>
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user