Skip to content

Commit

Permalink
fix build for windows platform
Browse files Browse the repository at this point in the history
  • Loading branch information
holger-detering committed Apr 21, 2023
1 parent 392ba7f commit b565c47
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions recipes/ncurses/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
from conan.tools.build import cross_building
from conan.tools.env import Environment, VirtualBuildEnv, VirtualRunEnv
from conan.tools.files import apply_conandata_patches, copy, export_conandata_patches, get, rename, rm, save
from conan.tools.gnu import Autotools, AutotoolsDeps, AutotoolsToolchain, PkgConfigDeps
from conan.tools.gnu import Autotools, AutotoolsToolchain
from conan.tools.layout import basic_layout
from conan.tools.microsoft import is_msvc
from conan.tools.scm import Version

import os
import textwrap

required_conan_version = ">=1.54.0"


class NCursesConan(ConanFile):
name = "ncurses"
description = "The ncurses (new curses) library is a free software emulation of curses in System V Release 4.0 (SVr4), and more"
Expand Down Expand Up @@ -183,12 +183,6 @@ def yes_no(v):
tc.configure_args.append(f"ac_cv_target={host}")
tc.generate()

tc = PkgConfigDeps(self)
tc.generate()

tc = AutotoolsDeps(self)
tc.generate()

if is_msvc(self):
env = Environment()
env.define("CC", "cl -nologo")
Expand Down

0 comments on commit b565c47

Please sign in to comment.