Set the lib version in CMakeLists

This commit is contained in:
Séverin Lemaignan 2015-09-10 16:36:27 +01:00
parent cadadf35b1
commit 57fe26b539
1 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,12 @@ SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
cmake_minimum_required(VERSION 2.4) cmake_minimum_required(VERSION 2.4)
project(dlib)
set(CPACK_PACKAGE_VERSION_MAJOR "18")
set(CPACK_PACKAGE_VERSION_MINOR "17")
set(CPACK_PACKAGE_VERSION_PATCH "99")
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
# Suppress cmake warnings about changes in new versions. # Suppress cmake warnings about changes in new versions.
if(COMMAND cmake_policy) if(COMMAND cmake_policy)