From 964be6fbab82a400ce0cb6ea92bb07c4d839a813 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Mon, 12 Sep 2022 09:43:15 +0200 Subject: [PATCH] Remove GANDIVA_CXX_STANDARD --- cpp/src/gandiva/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cpp/src/gandiva/CMakeLists.txt b/cpp/src/gandiva/CMakeLists.txt index 900978d6b3b95..9d548142a7cee 100644 --- a/cpp/src/gandiva/CMakeLists.txt +++ b/cpp/src/gandiva/CMakeLists.txt @@ -27,8 +27,6 @@ add_dependencies(gandiva-all gandiva gandiva-tests gandiva-benchmarks) find_package(LLVMAlt REQUIRED) -set(GANDIVA_CXX_STANDARD ${CMAKE_CXX_STANDARD}) - add_definitions(-DGANDIVA_LLVM_VERSION=${LLVM_VERSION_MAJOR}) find_package(OpenSSLAlt REQUIRED) @@ -163,7 +161,6 @@ add_arrow_lib(gandiva foreach(LIB_TARGET ${GANDIVA_LIBRARIES}) target_compile_definitions(${LIB_TARGET} PRIVATE GANDIVA_EXPORTING) - set_target_properties(${LIB_TARGET} PROPERTIES CXX_STANDARD ${GANDIVA_CXX_STANDARD}) endforeach() if(ARROW_BUILD_STATIC AND WIN32) @@ -225,7 +222,6 @@ function(ADD_GANDIVA_TEST REL_TEST_NAME) set(TEST_NAME gandiva-${REL_TEST_NAME}) string(REPLACE "_" "-" TEST_NAME ${TEST_NAME}) - set_target_properties(${TEST_NAME} PROPERTIES CXX_STANDARD ${GANDIVA_CXX_STANDARD}) endfunction() add_gandiva_test(internals-test