diff options
Diffstat (limited to 'homebrew/pcl/.make.sh-auto')
-rw-r--r-- | homebrew/pcl/.make.sh-auto | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/homebrew/pcl/.make.sh-auto b/homebrew/pcl/.make.sh-auto new file mode 100644 index 000000000..096bc6a39 --- /dev/null +++ b/homebrew/pcl/.make.sh-auto @@ -0,0 +1,10 @@ +pkg:setup +args = std_cmake_args + %w[-DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_apps=AUTO_OFF -DBUILD_apps_3d_rec_framework=AUTO_OFF -DBUILD_apps_cloud_composer=AUTO_OFF -DBUILD_apps_in_hand_scanner=AUTO_OFF -DBUILD_apps_optronic_viewer=AUTO_OFF -DBUILD_apps_point_cloud_editor=AUTO_OFF -DBUILD_examples:BOOL=ON -DBUILD_global_tests:BOOL=OFF -DBUILD_outofcore:BOOL=AUTO_OFF -DBUILD_people:BOOL=AUTO_OFF -DBUILD_simulation:BOOL=AUTO_OFF -DWITH_CUDA:BOOL=OFF -DWITH_DOCS:BOOL=OFF -DWITH_QT:BOOL=FALSE -DWITH_TUTORIALS:BOOL=OFF ] +args << "-DBUILD_apps_modeler=AUTO_OFF" +else +args << "-DBUILD_apps_modeler:BOOL=OFF" +end +mkdir "build" && cd build +cmake .. *args +make DESTDIR=${PKG_DEST} install +prefix.install Dir["#{bin}/*.app"] |