From a32ad2c9484f1bd59b8e685916487c695af94450 Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Mon, 22 Apr 2024 16:50:39 +0700 Subject: [PATCH] test: remove executable check in `SetupGoTest.cmake` file (#17) --- CMakeLists.txt | 2 +- test/cmake/SetupGoTest.cmake | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3898551..fcd1663 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.29) +cmake_minimum_required(VERSION 3.19) project( SetupGo diff --git a/test/cmake/SetupGoTest.cmake b/test/cmake/SetupGoTest.cmake index b541e3c..24f5762 100644 --- a/test/cmake/SetupGoTest.cmake +++ b/test/cmake/SetupGoTest.cmake @@ -20,10 +20,6 @@ if("Set up the latest version of Go" MATCHES ${TEST_MATCHES}) message(FATAL_ERROR "The Go executable at '${GO_EXECUTABLE}' should exist") endif() - if(NOT IS_EXECUTABLE ${GO_EXECUTABLE}) - message(FATAL_ERROR "The Go executable at '${GO_EXECUTABLE}' should be executable") - endif() - execute_process( COMMAND ${GO_EXECUTABLE} version RESULT_VARIABLE RES