From 5a910f2b9057ec712fb94a73afe246b015f49bc2 Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Sun, 24 Mar 2024 03:48:50 +0800 Subject: [PATCH] CMakeLists: fix compiler --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git CMakeLists.txt CMakeLists.txt index ad9ab7a..7f9497e 100644 --- CMakeLists.txt +++ CMakeLists.txt @@ -1,7 +1,5 @@ cmake_minimum_required(VERSION 3.4) -set(CMAKE_CXX_COMPILER "/bin/g++") - project(Hypr VERSION 0.1 DESCRIPTION "A Modern OOP C++ Window Manager" @@ -56,4 +54,4 @@ IF(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pg -no-pie -fno-builtin") SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pg -no-pie -fno-builtin") SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -pg -no-pie -fno-builtin") -ENDIF(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG) \ No newline at end of file +ENDIF(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)