Skip to content

Commit

Permalink
gnsstk: allow static builds
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Nov 2, 2023
1 parent b0ca05b commit 1929d43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/gnsstk/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1929d43

Please sign in to comment.