Unverified Commit 175a7e3c authored by Mark Lindner's avatar Mark Lindner Committed by GitHub

Merge pull request #161 from AbitTheGray/master

Fixed project version escape character
parents 18193744 79a712db
cmake_minimum_required(VERSION 3.1)
# Extract version from configure.ac.
set(VERSION_REGEX "^AC_INIT\\(libconfig,[ \t]+([0-9\.]+),.*")
set(VERSION_REGEX "^AC_INIT\\(libconfig,[ \t]+([0-9.]+),.*")
file(STRINGS "configure.ac"
VERSION_STRING REGEX ${VERSION_REGEX})
string(REGEX REPLACE ${VERSION_REGEX} "\\1" VERSION_STRING "${VERSION_STRING}")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment