You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@madlib.apache.org by "tuhaihe (via GitHub)" <gi...@apache.org> on 2025/10/31 07:59:41 UTC

[PR] Fix CMake warning by reordering commands [madlib]

tuhaihe opened a new pull request, #631:
URL: https://github.com/apache/madlib/pull/631

   Moved cmake_minimum_required() before project() in CMakeLists.txt to resolve the CMake dev warning. This follows CMake best practices where cmake_minimum_required() should be called before project().
   
   Reference: Warn when running `cmake ..`:
   ```
   [gpadmin@cdw build]$ cmake ..
   CMake Warning (dev) at CMakeLists.txt:14 (project):
     cmake_minimum_required() should be called prior to this top-level project()
     call.  Please see the cmake-commands(7) manual for usage documentation of
     both commands.
   This warning is for project developers.  Use -Wno-dev to suppress it.
   ```
   
   <!--  
   
   Thanks for sending a pull request!  Here are some tips for you:
   1. Refer to this link for contribution guidelines https://cwiki.apache.org/confluence/display/MADLIB/Contribution+Guidelines
   2. Please Provide the Module Name, a JIRA Number and a short description about your changes.
   -->
   
   - [ ] Add the module name, JIRA# to PR/commit and description.
   - [ ] Add tests for the change. 
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@madlib.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org