kou commented on code in PR #12914:
URL: https://github.com/apache/arrow/pull/12914#discussion_r906718504


##########
cpp/CMakeLists.txt:
##########
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-cmake_minimum_required(VERSION 3.5)
+cmake_minimum_required(VERSION 3.12)

Review Comment:
   Sorry for confusing you.
   We can't upgrade required CMake version to 3.12 uncoditionally. Because 
Ubuntu 18.04 still uses CMake 3.10.
   
   If we use the object library approach, we report an error with CMake < 3.12 
like 
https://github.com/apache/arrow/blob/master/cpp/cmake_modules/ThirdpartyToolchain.cmake#L1396-L1399
 .
   
   But I think that the project global `CMAKE_CXX_STANDARD=14` approach is 
better than the object library approach for maintenance as I described at 
https://github.com/apache/arrow/pull/12914#discussion_r899724290 .
   
   How about reverting `add_library(OBJECT)` related changes?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to