diff --git a/recipes/gnsstk/all/conanfile.py b/recipes/gnsstk/all/conanfile.py index 2642cfcb0c75b..bd8b6fe6dab5b 100644 --- a/recipes/gnsstk/all/conanfile.py +++ b/recipes/gnsstk/all/conanfile.py @@ -75,6 +75,9 @@ def _patch_sources(self): # Disable warnings as errors replace_in_file(self, os.path.join(self.source_folder, "BuildSetup.cmake"), "-Werror=return-type -Werror=deprecated", "") + # Do not force shared library + replace_in_file(self, os.path.join(self.source_folder, "CMakeLists.txt"), + " SHARED ", " ") def build(self): self._patch_sources()