update cmake file

This commit is contained in:
Kevin Yue
2021-09-14 22:43:02 +08:00
parent e012b53663
commit 3d9e416d77
3 changed files with 6 additions and 13 deletions

View File

@@ -2,7 +2,7 @@ include(ExternalProject)
function(add_3rdparty NAME)
set(oneValueArgs GIT_REPOSITORY GIT_TAG)
cmake_parse_arguments(add_3rdparty_args "${oneValueArgs}" "" ${ARGN})
cmake_parse_arguments(add_3rdparty_args "" "${oneValueArgs}" "" ${ARGN})
if(EXISTS "${CMAKE_SOURCE_DIR}/3rdparty/${NAME}/CMakeLists.txt")
message(STATUS "Found third party locally for ${NAME}")