CMake: Configure: Remove cruft in ConfigurePackage module.

This commit is contained in:
kestred 2013-12-09 00:43:29 -07:00
parent 693f7b39cf
commit ebddd2292b
1 changed files with 1 additions and 5 deletions

View File

@ -23,11 +23,7 @@ function(config_package PKG_NAME)
# Handle optional function arguments
foreach(arg ${ARGN})
if(ARG_IS_LIBRARY)
unset(ARG_IS_LIBRARY)
set(LIB_NAME ${arg})
break()
elseif(ARG_IS_COMMENT)
if(ARG_IS_COMMENT)
unset(ARG_IS_COMMENT)
set(DISPLAY_NAME ${arg})
break()