From b43742fda8c053dc8f22b360d1138a998a57296b Mon Sep 17 00:00:00 2001 From: Deniz Evrenci Date: Fri, 1 Feb 2019 16:03:33 +0900 Subject: [PATCH] [C++] Remove redundant call to execute_process. We do not need to build sbe-jar at configure time. --- CMakeLists.txt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 484652d99b..52e19d3aba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -104,15 +104,6 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/binaries") set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/lib") set(SBE_JAR "${CMAKE_CURRENT_SOURCE_DIR}/sbe-all/build/libs/sbe-all-${SBE_VERSION_TXT}.jar") -if(EXISTS "${SBE_JAR}") - message("latest SBE jar found: ${SBE_JAR}") -else() - message("Generating SBE jar") - execute_process( - COMMAND ./gradlew build -x test -x check -x javadoc :sbe-all:build - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - ) -endif() file(GLOB_RECURSE SBE_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/sbe-tool/src/main/java/*.java"