mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 09:24:55 +02:00
cmake: read shared library version from libversion
This commit is contained in:
parent
a06edac870
commit
d334ef4fb0
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user