Skip to content

Commit

Permalink
enjincppsdk: fix RapidJSON version check
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Nov 3, 2023
1 parent 2fdf2e5 commit 6b4857a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/enjincppsdk/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ def generate(self):

def _patch_sources(self):
replace_in_file(self, os.path.join(self.source_folder, "CMakeLists.txt"), "RAPIDJSON", "RapidJSON")
# Remove version check for RapidJSON
save(self, os.path.join(self.source_folder, "cmake", "enjinsdk_find_rapidjson.cmake"),
"find_package(RapidJSON REQUIRED CONFIG)")

def build(self):
self._patch_sources()
Expand Down

0 comments on commit 6b4857a

Please sign in to comment.