Skip to content

Commit

Permalink
conan-io#4806 nsync: remove CMAKE_SKIP_INSTALL_ALL_DEPENDENCY
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP committed Sep 15, 2021
1 parent 26c62b8 commit 091a4a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions recipes/nsync/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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"]

0 comments on commit 091a4a7

Please sign in to comment.