otakuto / crazydiskinfo

CrazyDiskInfo is an interactive TUI S.M.A.R.T viewer for Unix systems.
MIT License
311 stars 28 forks source link

Change CMakeLists.txt for generating deb and rpm #9

Closed BlueSkyDetector closed 7 years ago

BlueSkyDetector commented 7 years ago

CMake has an ability to generate deb and rpm packages. So, I changed "CMakeLists.txt" for generating deb and rpm. By this change, rpm package will be generated in rpm environment and deb package will be generated in deb environment.

By this change, developer have to mind to update the line "set(VERSION 1.0.2)" , when CrazyDiskInfo update the version.

BlueSkyDetector commented 7 years ago

Sorry, that branch code has some problems. I'll close this PR and remake later.