From: Josh Klontz Date: Mon, 14 Apr 2014 20:48:10 +0000 (-0400) Subject: fixed 'current scope has no parent' warning X-Git-Tag: v3.1.900a~300^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F76%2Fhead;p=thirdparty%2Flibarchive.git fixed 'current scope has no parent' warning --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1010b4f06..d75db8fba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1495,7 +1495,7 @@ ADD_DEFINITIONS(-DHAVE_CONFIG_H) # Expose ADDITIONAL_LIBS for projects using libarchive as a subdirectory # and linking against archive_static. # -set(LIBARCHIVE_ADDITIONAL_LIBS ${ADDITIONAL_LIBS} PARENT_SCOPE) +set(LIBARCHIVE_ADDITIONAL_LIBS ${ADDITIONAL_LIBS} CACHE INTERNAL "libarchive dependencies") # # Register installation of PDF documents.