update the dependency

This commit is contained in:
Kevin Yue 2021-09-14 00:17:26 +08:00
parent 14b2f809b8
commit 34187ae8cf

View File

@ -24,10 +24,11 @@ function(add_3rdparty NAME)
return()
endif()
message(STATUS "Using CPM to download ${NAME}")
message(STATUS "Using ExternalProject to download ${NAME}")
ExternalProject_Add(
${NAME}-${PROJECT_NAME}
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/${NAME}
INSTALL_COMMAND ""
"${ARGN}"
)
endfunction()