summaryrefslogtreecommitdiffstats
path: root/Modules/ExternalProject.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-08-03 20:11:01 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-08-03 20:11:01 (GMT)
commit68efc3ef8687ee3a09e86a3d124a710668083246 (patch)
treea21217651db2b852d789467c25767d9a04934de0 /Modules/ExternalProject.cmake
parentdac2afec2597681cc39ddf574b8a33e5743877c5 (diff)
parent9fa49dc3ad039ed0e1213afcd0da70a064991d27 (diff)
downloadCMake-68efc3ef8687ee3a09e86a3d124a710668083246.zip
CMake-68efc3ef8687ee3a09e86a3d124a710668083246.tar.gz
CMake-68efc3ef8687ee3a09e86a3d124a710668083246.tar.bz2
Merge topic 'fix-issue-11034'
9fa49dc ExternalProject: Remove 'unknown keyword' warning (#11034)
Diffstat (limited to 'Modules/ExternalProject.cmake')
-rw-r--r--Modules/ExternalProject.cmake12
1 files changed, 2 insertions, 10 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index b4359c8..fcb5199 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -154,8 +154,8 @@ function(_ep_parse_arguments f name ns args)
# correctly based on target properties.
#
# We loop through ARGN and consider the namespace starting with an
- # upper-case letter followed by at least two more upper-case letters
- # or underscores to be keywords.
+ # upper-case letter followed by at least two more upper-case letters,
+ # numbers or underscores to be keywords.
set(key)
foreach(arg IN LISTS args)
@@ -166,14 +166,6 @@ function(_ep_parse_arguments f name ns args)
NOT arg MATCHES "^(TRUE|FALSE)$")
if(_ep_keywords_${f} AND arg MATCHES "${_ep_keywords_${f}}")
set(is_value 0)
- else()
- if(NOT (key STREQUAL "COMMAND")
- AND NOT (key STREQUAL "CVS_MODULE")
- AND NOT (key STREQUAL "DEPENDS")
- AND NOT (key STREQUAL "DOWNLOAD_COMMAND")
- )
- message(AUTHOR_WARNING "unknown ${f} keyword: ${arg}")
- endif()
endif()
endif()