Skip to content

Commit

Permalink
fix: cmake wrapper broke build on Mac OS
Browse files Browse the repository at this point in the history
  • Loading branch information
Latios96 committed Jul 5, 2022
1 parent 8f3415e commit b56c605
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipes/opensubdiv/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def build(self):
if not self._osd_gpu_enabled and self.settings.os == "Macos":
path = os.path.join(self._source_subfolder, "opensubdiv", "CMakeLists.txt")
tools.replace_in_file(path, "$<TARGET_OBJECTS:osd_gpu_obj>", "")
tools.replace_in_file(path, "${CMAKE_SOURCE_DIR}/opensubdiv", "${CMAKE_SOURCE_DIR}/source_subfolder/opensubdiv")
cmake = self._configure_cmake()
cmake.build()

Expand Down

0 comments on commit b56c605

Please sign in to comment.