update cmake file

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

No files matched your search

+1 -1
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}")