This commit is contained in:
Alfie King 2024-10-23 12:28:41 +01:00
parent 13a50afcca
commit d24dce7ffe
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -19,4 +19,4 @@ build() {
package() {
cd "$srcdir/term-owo-cpp/build"
install -Dm755 owo "$pkgdir/usr/bin/owo"
}
}