Skip to content

Commit

Permalink
feat(cpack): seperate deb version into different file
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaumebeuzeboc committed Jan 6, 2019
1 parent c77e793 commit 4e68acf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ install(TARGETS QGLViz
DESTINATION bin)

set(CMAKE_PROJECT_NAME "QGLViz")
set(MAJOR_VERSION "1")
set(MINOR_VERSION "0")
set(PATCH_VERSION "0")
include(${CMAKE_CURRENT_SOURCE_DIR}/version.cmake)
if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
include(InstallRequiredSystemLibraries)
set(CPACK_SET_DESTDIR "on")
Expand Down
3 changes: 3 additions & 0 deletions version.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
set(MAJOR_VERSION "1")
set(MINOR_VERSION "0")
set(PATCH_VERSION "0")

0 comments on commit 4e68acf

Please sign in to comment.