From faf4f64aece42429ff2b62a0d644ace7d0d6b550 Mon Sep 17 00:00:00 2001 From: Tian jianyong <11429339@qq.com> Date: Fri, 9 May 2025 16:17:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A9=20Centos=20=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E7=9A=84=E7=BC=96=E8=AF=91=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 26aa2e3..30e9096 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,11 +1,5 @@ cmake_minimum_required(VERSION 3.14...3.27) -# 设置编译器 -if(NOT APPLE) - set(CMAKE_C_COMPILER "/usr/local/bin/gcc") - set(CMAKE_CXX_COMPILER "/usr/local/bin/g++") -endif() - # 设置 CMake 策略(移除非必要的新策略) cmake_policy(SET CMP0074 NEW) # 保留必要的包根目录策略