From 6bec82499036a74276aa5d826bdcd5198bdec133 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Fri, 27 Aug 2021 17:45:01 +0200 Subject: [PATCH] change: compile with full path --- CMakeLists.txt | 2 +- libs/spandisc/CMakeLists.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 44f4ea0..1d814bd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.13.4) -set(CMAKE_C_COMPILER gcc) +set(CMAKE_C_COMPILER "/usr/bin/gcc") set(CMAKE_C_FLAGS "-Wall") set(BINPATH "/usr/local/bin") diff --git a/libs/spandisc/CMakeLists.txt b/libs/spandisc/CMakeLists.txt index 4e528e7..4c7dba4 100644 --- a/libs/spandisc/CMakeLists.txt +++ b/libs/spandisc/CMakeLists.txt @@ -1,5 +1,8 @@ cmake_minimum_required(VERSION 3.13.4) +set(CMAKE_C_COMPILER "/usr/bin/gcc") +set(CMAKE_C_FLAGS "-Wall") + set(INSTALL_LIBPATH /usr/local/lib) set(INSTALL_HEADER /usr/local/include/spandisc) -- 2.39.5