cmake: read shared library version from libversion

This commit is contained in:
Pascal Bach 2014-07-10 17:15:09 +02:00
parent a06edac870
commit d334ef4fb0

View File

@ -7,7 +7,7 @@ project(Poco)
cmake_minimum_required(VERSION 2.8.0)
set(SHARED_LIBRARY_VERSION "22")
file(STRINGS "${CMAKE_SOURCE_DIR}/libversion" SHARED_LIBRARY_VERSION)
# Read the version information from the VERSION file
file (STRINGS "${CMAKE_SOURCE_DIR}/VERSION" PACKAGE_VERSION )