Skip to content

Commit

Permalink
Try to fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
rainman110 committed Dec 13, 2023
1 parent fe9dc9e commit df82752
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions recipes/gtlab-logging/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
from conan.tools import files
from conan import ConanFile
import os
import textwrap

required_conan_version = ">=1.59.0"

class GTLabLoggingConan(ConanFile):
name = "gtlab-logging"
license = "BSD-3-Clause"
author = "Martin Siggel <[email protected]>"
url = "https://github.com/dlr-gtlab/gt-logging"
url = "https://github.com/conan-io/conan-center-index"
homepage = "https://github.com/dlr-gtlab/gt-logging"
toppics = "logging", "qt"
topics = ("logging", "qt")
description = "Simple logging interface with qt support"

settings = "os", "arch", "compiler", "build_type"
Expand All @@ -29,9 +27,8 @@ def generate(self):
CMakeToolchain(self).generate()
CMakeDeps(self).generate()


def layout(self):
cmake_layout(self)
cmake_layout(self, src_folder="src")

def config_options(self):
if self.settings.os == "Windows":
Expand All @@ -41,9 +38,9 @@ def source(self):
files.get(self, **self.conan_data["sources"][self.version],
strip_root=True, destination=self.source_folder)

def build(self):
def build(self):
cmake = CMake(self)
cmake.configure(build_script_folder="src")
cmake.configure()
cmake.build()


Expand Down

0 comments on commit df82752

Please sign in to comment.