Skip to content

Commit

Permalink
readds conan1 generator build module paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerbitz committed Oct 16, 2023
1 parent d12e975 commit 8989d80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/ncurses/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@ def package_info(self):
self.cpp_info.components["libcurses"].libs = ["ncurses" + self._lib_suffix]
self.cpp_info.components["libcurses"].names["pkg_config"] = "ncurses" + self._lib_suffix
self.cpp_info.components["libcurses"].includedirs.append(os.path.join("include", "ncurses" + self._suffix))
self.cpp_info.components["libcurses"].build_modules["cmake_find_package"] = [module_rel_path]
self.cpp_info.components["libcurses"].build_modules["cmake_find_package_multi"] = [module_rel_path]

if not self.options.shared:
self.cpp_info.components["libcurses"].defines = ["NCURSES_STATIC"]
if self.settings.os == "Linux":
Expand Down

0 comments on commit 8989d80

Please sign in to comment.