diff --git a/conanfile.py b/conanfile.py index ba1cf1a..6c97818 100644 --- a/conanfile.py +++ b/conanfile.py @@ -1,25 +1,28 @@ from conans import ConanFile, CMake +def getVersion(): + return "5.50.0" + class ExtracmakemodulesConan(ConanFile): name = "extra-cmake-modules" - version = "5.50.0" + version = getVersion() license = "GPLv2" url = "https://api.kde.org/ecm/" description = "KDE's CMake modules" settings = "os", "compiler", "build_type", "arch" generators = "cmake" scm = { "type": "git", "url": "auto", "revision": "auto" } def build(self): cmake = CMake(self) cmake.configure() cmake.build() cmake.install() def package_info(self): self.cpp_info.resdirs = ["share"]