Skip to content

fix build with cmake-4.0#7244

Merged
ssheorey merged 1 commit intoisl-org:mainfrom
daizhirui:fix-cmake-4.0
May 22, 2025
Merged

fix build with cmake-4.0#7244
ssheorey merged 1 commit intoisl-org:mainfrom
daizhirui:fix-cmake-4.0

Conversation

@daizhirui
Copy link
Contributor

-DCMAKE_POLICY_VERSION_MINIMUM=3.5 is needed for librealsense and civetweb when building with cmake-4.0 and the following arguments:

-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=/usr/bin/gcc-13 \
-DCMAKE_CXX_COMPILER=/usr/bin/g++-13 \
-G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_MODULE_PATH=/usr/lib/cmake/OpenVDB \
-DUSE_SYSTEM_ASSIMP=ON \
-DUSE_SYSTEM_CURL=ON \
-DUSE_SYSTEM_BLAS=OFF \
-DBUILD_SYCL_MODULE=OFF \
-DUSE_SYSTEM_EIGEN3=ON \
-DUSE_SYSTEM_EMBREE=ON \
-DUSE_SYSTEM_TBB=ON \
-DOPEN3D_USE_ONEAPI_PACKAGES=OFF \
-DUSE_SYSTEM_FMT=ON \
-DUSE_SYSTEM_GLEW=ON \
-DUSE_SYSTEM_GLFW=ON \
-DUSE_SYSTEM_GOOGLETEST=ON \
-DUSE_SYSTEM_JPEG=ON \
-DUSE_SYSTEM_JSONCPP=ON \
-DUSE_SYSTEM_LIBLZF=ON \
-DUSE_SYSTEM_NANOFLANN=ON \
-DUSE_SYSTEM_OPENSSL=ON \
-DUSE_SYSTEM_PNG=ON \
-DUSE_SYSTEM_PYBIND11=ON \
-DUSE_SYSTEM_QHULLCPP=ON \
-DUSE_SYSTEM_VTK=ON \
-DUSE_SYSTEM_ZEROMQ=ON \
-DBUILD_LIBREALSENSE=ON \
-DWITH_MINIZIP=ON

Type

  • Bug fix (non-breaking change which fixes an issue): Fixes #
  • New feature (non-breaking change which adds functionality). Resolves #
  • Breaking change (fix or feature that would cause existing functionality to not work as expected) Resolves #

Motivation and Context

Checklist:

  • I have run python util/check_style.py --apply to apply Open3D code style
    to my code.
  • This PR changes Open3D behavior or adds new functionality.
    • Both C++ (Doxygen) and Python (Sphinx / Google style) documentation is
      updated accordingly.
    • I have added or updated C++ and / or Python unit tests OR included test
      results
      (e.g. screenshots or numbers) here.
  • I will follow up and update the code if CI fails.
  • For fork PRs, I have selected Allow edits from maintainers.

Description

@update-docs
Copy link

update-docs bot commented May 16, 2025

Thanks for submitting this pull request! The maintainers of this repository would appreciate if you could update the CHANGELOG.md based on your changes.

@ssheorey
Copy link
Member

Thanks @daizhirui !

@ssheorey ssheorey merged commit 0267426 into isl-org:main May 22, 2025
33 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants