Skip to content

Commit

Permalink
apply suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
matlabbe committed Mar 20, 2024
1 parent fe9f280 commit ffc8ca8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Formula/r/rtabmap.rb
Expand Up @@ -34,7 +34,11 @@ def install
assert_match "RTAB-Map: #{version}", output

# Test c++ library
ENV.delete "CPATH" # error xcode headers missing

# Required to avoid missing Xcode headers
# https://github.com/Homebrew/homebrew-core/pull/162576/files#r1489824628
ENV.delete "CPATH" if OS.mac? && !MacOS::CLT.installed?

rtabmap_dir = lib/"rtabmap-#{version.major_minor}"
(testpath/"CMakeLists.txt").write <<~EOS
cmake_minimum_required(VERSION 3.10)
Expand Down

0 comments on commit ffc8ca8

Please sign in to comment.