diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 8e699fde45d2d..07acb9e31a731 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -259,30 +259,23 @@ macro(define_option name description arrow_option) # by default, first check if env variable exists, otherwise use Arrow C++ config set(env_variable "PYARROW_WITH_${name}") if(DEFINED ENV{${env_variable}}) - message(STATUS "Env variable is defined: ${env_variable}=$ENV{${env_variable}}") if($ENV{${env_variable}}) set("PYARROW_BUILD_${name}" ON) - message(STATUS "Setting ${name} to ON through env variable") else() set("PYARROW_BUILD_${name}" OFF) - message(STATUS "Setting ${name} to OFF through env variable") endif() else() if(${arrow_option}) set("PYARROW_BUILD_${name}" ON) - message(STATUS "Setting ${name} to ON through Arrow C++ config") else() set("PYARROW_BUILD_${name}" OFF) - message(STATUS "Setting ${name} to OFF through Arrow C++ config") endif() endif() else() if("${PYARROW_${name}}") set("PYARROW_BUILD_${name}" ON) - message(STATUS "Setting ${name} to ON through CMake option") else() set("PYARROW_BUILD_${name}" OFF) - message(STATUS "Setting ${name} to OFF through CMake option") endif() endif() endmacro()