Skip to content

Commit 449c250

Browse files
committed
fixed cmake
1 parent 1e36223 commit 449c250

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/CMakeLists.txt

+6
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ IF(RPM)
102102
SET(CPACK_RPM_PACKAGE_ARCHITECTURE ${TARGET_ARCH})
103103
SET(CPACK_RPM_PACKAGE_LICENSE "GPLv3")
104104
SET(DOCUMENTATION_PATH share/doc/${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION})
105+
SET(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST
106+
/usr
107+
/usr/bin
108+
/usr/share
109+
/usr/share/man
110+
)
105111
ENDIF()
106112
#-----------------------------------------------------------------------------
107113

toolchains/linux.cmake

-6
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ ENDIF()
1212

1313
#--set os specifc linking mode-------------------------------------------------
1414
SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeModules/)
15-
SET(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST
16-
/usr
17-
/usr/bin
18-
/usr/share
19-
/usr/share/man
20-
)
2115

2216
FIND_LIBRARY(ZLIB REQUIRED)
2317
FIND_PACKAGE(ZLIB REQUIRED)

0 commit comments

Comments
 (0)