File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ if(NOT GENERATOR_IS_MULTI_CONFIG AND NOT DEFINED CMAKE_BUILD_TYPE)
2828 set (CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." )
2929endif ()
3030
31+ string (TOUPPER ${CMAKE_BUILD_TYPE} UPPERCASE_BUILD_TYPE)
3132project (arrow VERSION "${ARROW_BASE_VERSION} " )
3233
3334set (ARROW_VERSION_MAJOR "${arrow_VERSION_MAJOR} " )
@@ -398,7 +399,6 @@ set(EXECUTABLE_OUTPUT_PATH "${BUILD_OUTPUT_ROOT_DIRECTORY}")
398399if (CMAKE_GENERATOR STREQUAL Xcode)
399400 # Xcode projects support multi-configuration builds. This forces a single output directory
400401 # when building with Xcode that is consistent with single-configuration Makefile driven build.
401- string (TOUPPER ${CMAKE_BUILD_TYPE} UPPERCASE_BUILD_TYPE)
402402 set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY_${UPPERCASE_BUILD_TYPE}
403403 "${BUILD_OUTPUT_ROOT_DIRECTORY} " )
404404 set (CMAKE_LIBRARY_OUTPUT_DIRECTORY_${UPPERCASE_BUILD_TYPE}
Original file line number Diff line number Diff line change @@ -417,8 +417,6 @@ endif()
417417# ----------------------------------------------------------------------
418418# ExternalProject options
419419
420- string (TOUPPER ${CMAKE_BUILD_TYPE} UPPERCASE_BUILD_TYPE)
421-
422420set (EP_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${UPPERCASE_BUILD_TYPE} }" )
423421set (EP_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_${UPPERCASE_BUILD_TYPE} }" )
424422
You can’t perform that action at this time.
0 commit comments