diff options
author | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2019-12-16 23:38:26 +0300 |
---|---|---|
committer | Konstantin Podsvirov <konstantin@podsvirov.pro> | 2019-12-16 23:38:26 +0300 |
commit | b29de0211aa822936a4c5d56cc5c1c2c2cd7cdb7 (patch) | |
tree | fdc2d5dc4679319818dc0427de170065f2db5c10 /CMakeLists.txt | |
parent | d34610d0c5c0b320a6e485c650a278db40d0071e (diff) | |
download | colm-b29de0211aa822936a4c5d56cc5c1c2c2cd7cdb7.tar.gz |
cmake: restore project
Partially fix #87
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 08a1c069..cb910b74 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0) # Read project configuration from configure.ac file file(STRINGS configure.ac _PROJECT_CONFIGS - REGEX "(AC_INIT\\()|(PUBDATE=)") + REGEX "(AC_INIT\\()") foreach(_PROJECT_CONFIG ${_PROJECT_CONFIGS}) if(_PROJECT_CONFIG MATCHES "AC_INIT\\(([^,]+)") string(STRIP ${CMAKE_MATCH_1} PROJECT_NAME) @@ -10,9 +10,6 @@ foreach(_PROJECT_CONFIG ${_PROJECT_CONFIGS}) if(_PROJECT_CONFIG MATCHES "AC_INIT\\([^,]+,([^\\)]+)") string(STRIP ${CMAKE_MATCH_1} PROJECT_VERSION) endif() - if(_PROJECT_CONFIG MATCHES "PUBDATE=\"([^\"]+)") - string(STRIP ${CMAKE_MATCH_1} PROJECT_PUBDATE) - endif() endforeach() project(${PROJECT_NAME} |