From d24dce7ffebc3361118f65f729a8820abace35bb Mon Sep 17 00:00:00 2001 From: Alfie King Date: Wed, 23 Oct 2024 12:28:41 +0100 Subject: [PATCH] uuuuuh --- CMakeLists.txt | 2 ++ PKGBUILD | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0835c30..e841582 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,6 @@ cmake_minimum_required(VERSION 3.5) +find_program(CMAKE_C_COMPILER NAMES $ENV{CC} gcc PATHS ENV PATH NO_DEFAULT_PATH) +find_program(CMAKE_CXX_COMPILER NAMES $ENV{CXX} g++ PATHS ENV PATH NO_DEFAULT_PATH) project(owo) add_executable(owo src/main.cpp) target_link_libraries(owo) diff --git a/PKGBUILD b/PKGBUILD index ff8791c..f4eb336 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -19,4 +19,4 @@ build() { package() { cd "$srcdir/term-owo-cpp/build" install -Dm755 owo "$pkgdir/usr/bin/owo" -} \ No newline at end of file +} \ No newline at end of file