Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
robomics committed Sep 30, 2024
1 parent 6b83ca6 commit c2c688d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions recipes/boost/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2035,12 +2035,11 @@ def filter_transform_module_libraries(names):

self.cpp_info.components[f"numpy{pyversion.major}{pyversion.minor}"].requires = ["numpy"]

if not self.options.get_safe("without_process") and self.settings.os == "Windows":
self.cpp_info.components["process"].system_libs.extend(["ntdll", "shell32", "Advapi32", "user32"])
if not self.options.get_safe("without_process"):
if self.settings.os == "Windows":
self.cpp_info.components["process"].system_libs.extend(["ntdll", "shell32", "Advapi32", "user32"])
if self._shared:
self.cpp_info.components["process"].defines.append("BOOST_PROCESS_DYN_LINK")
else:
self.cpp_info.components["process"].defines.append("BOOST_PROCESS_STATIC_LINK")
self.cpp_info.components["process"].defines.append("BOOST_PROCESS_SOURCE")


if is_msvc(self) or self._is_clang_cl:
Expand Down

0 comments on commit c2c688d

Please sign in to comment.