diff --git a/recipes/nsync/all/conanfile.py b/recipes/nsync/all/conanfile.py index 2086972f0ce282..1cd482a1e4e038 100644 --- a/recipes/nsync/all/conanfile.py +++ b/recipes/nsync/all/conanfile.py @@ -58,6 +58,10 @@ def _patch_sources(self): os.path.join(self._source_subfolder, "CMakeLists.txt"), "set (CMAKE_POSITION_INDEPENDENT_CODE ON)", "") + tools.replace_in_file( + os.path.join(self._source_subfolder, "CMakeLists.txt"), + "set (CMAKE_SKIP_INSTALL_ALL_DEPENDENCY ON)", "") + def build(self): self._patch_sources() cmake = self._configure_cmake() @@ -91,5 +95,3 @@ def _def_compoment(self, name, lib=None): if self.settings.os in ["Linux", "FreeBSD"]: component.system_libs = ["pthread"] - if self.settings.os == "Windows" and self.options.shared: - component.libdirs = ["lib"]