From 1e362230f48b84b3a144a24ea7745aa32987f4b3 Mon Sep 17 00:00:00 2001 From: Terrence Meiczinger Date: Tue, 17 Jun 2014 01:23:41 -0400 Subject: [PATCH] fix for cmake --- toolchains/linux.cmake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/toolchains/linux.cmake b/toolchains/linux.cmake index b55f0fe..039e1d9 100644 --- a/toolchains/linux.cmake +++ b/toolchains/linux.cmake @@ -12,6 +12,12 @@ ENDIF() #--set os specifc linking mode------------------------------------------------- SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeModules/) +SET(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST + /usr + /usr/bin + /usr/share + /usr/share/man +) FIND_LIBRARY(ZLIB REQUIRED) FIND_PACKAGE(ZLIB REQUIRED)