From da3202d37cf4e027c8864831d627cf92dbe324d3 Mon Sep 17 00:00:00 2001 From: Alec Jacobson Date: Tue, 15 Apr 2025 09:56:41 -0400 Subject: [PATCH] fix cmake warnings; bump libigl --- CMakeLists.txt | 2 +- README.md | 5 ++++- cmake/Warnings.cmake | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e5ba48e..a4d576c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,7 @@ option(LIBIGL_RESTRICTED_TRIANGLE "Build target igl_restricted::triangle" ON) FetchContent_Declare( libigl GIT_REPOSITORY https://github.com/libigl/libigl.git - GIT_TAG a221faf1e4bd571529ca2101c08bc2458579b1da + GIT_TAG 788871103938ce92112714d11ea491e8e6b4d972 ) FetchContent_MakeAvailable(libigl) diff --git a/README.md b/README.md index 76e49549..77e6b81e 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,10 @@ expected. Install whichever version of Python from the [official website](https://www.python.org/downloads/) and then run: - /Library/Frameworks/Python.framework/Versions/[version]/bin/python -m pip install cibuildwheel + + /Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11 -m venv venv-official-3.11 + source venv-official-3.11/bin/activate + python -m pip install cibuildwheel CIBW_BUILD="cp311-*" python -m cibuildwheel --output-dir wheelhouse --platform macos ## Downloading all the artifacts diff --git a/cmake/Warnings.cmake b/cmake/Warnings.cmake index e781c4c7..2af2c1ec 100644 --- a/cmake/Warnings.cmake +++ b/cmake/Warnings.cmake @@ -1,5 +1,5 @@ ################################################################################ -cmake_minimum_required(VERSION 2.8.12) +cmake_minimum_required(VERSION 3.5) ################################################################################ # See comments and discussions here: # http://stackoverflow.com/questions/5088460/flags-to-enable-thorough-and-verbose-g-warnings