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