depot/third_party/nixpkgs/pkgs/applications/window-managers/hyprwm/hypr/000-dont-set-compiler.diff
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

18 lines
805 B
Diff

diff -Naur source-old/CMakeLists.txt source/CMakeLists.txt
--- source-old/CMakeLists.txt 2022-10-19 00:55:52.766480588 -0300
+++ source/CMakeLists.txt 2022-10-19 00:56:08.368515654 -0300
@@ -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"
@@ -54,4 +52,4 @@
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)